Skip to content

#835bc9

a balanced, vivid violet · cool · closest name: Slate Blue

RGB
131, 91, 201
HSL
262°, 51%, 57%
CMYK
35, 55, 0, 21
Luminance
0.1652

At a glance

Every number on this page in one read: what #835bc9 is made of, how bright it looks, and which way it leans.

Hex
#835bc9
Hue
262°
violet
Saturation
51%
vivid
Lightness
57%
balanced
Brightness
79%
HSV value
Perceived
47%
weighted brightness
Luminance
0.1652
WCAG relative
Temperature
Cool
71/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
4.88:1
Closest name
Slate Blue
ΔE2000 5.1
Where it sits
Hue262° of 360°
Saturation51%
Lightness57%
Temperature
Warm ← → Cool71% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#835bc9
RGBrgb(131, 91, 201)
HSLhsl(262, 51%, 57%)
CMYKcmyk(35%, 55%, 0%, 21%)
LABlab(47.6 40.1 -51.6)
LCHlch(47.6 65.3 307.8)
OKLCHoklch(0.566 0.165 297.7)
Decimal8608713
Display P3color(display-p3 0.514 0.357 0.788)

Copy-ready code

/* CSS */
color: #835bc9;
background-color: #835bc9;
/* Tailwind (arbitrary) */
class="text-[#835bc9] bg-[#835bc9]"
/* SCSS */
$brand: #835bc9;
/* SwiftUI */
Color(red: 0.514, green: 0.357, blue: 0.788)
/* Android */
Color.parseColor("#835bc9")
/* Flutter */
Color(0xFF835BC9)
/* Python / OpenCV (BGR) */
(201, 91, 131)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#ffffff on #835bc9 · 4.88:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.88:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.30:1
AA fail · AA large pass · AAA fail
Reading the other direction: #835bc9 as text scores 4.88:1 on white and 4.30:1 on black.

Accessibility — WCAG contrast

Aa
#835bc9 on white: 4.88:1
AA ✓ pass · AA-large · AAA
Aa
#835bc9 on black: 4.30:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #2C71CD
deuteranopia · #3970C6
tritanopia · #737189

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #835bc9 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F7F4FA
#EEEAF6
#DACFED
#BFABE3
#9F80D5
#835bc9
#6A3DB8
#58329A
#46287B
#35215A
#211438
Base = 500Lightest = 50 · #F7F4FADarkest = 950 · #211438
:root {
  --brand-50: #F7F4FA;
  --brand-100: #EEEAF6;
  --brand-200: #DACFED;
  --brand-300: #BFABE3;
  --brand-400: #9F80D5;
  --brand-500: #835bc9;
  --brand-600: #6A3DB8;
  --brand-700: #58329A;
  --brand-800: #46287B;
  --brand-900: #35215A;
  --brand-950: #211438;
  --brand: #835bc9;
  --brand-ink: #ffffff;
}

Colors that work with #835bc9

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F7F4FA
Tinted page background
Border#D1C2EB
Hairlines and dividers
Muted text#684B9B
Captions on the surface
Accent#919D2F
Second voice, not a rival
Dark variant#372060
Hover, pressed, headers
Light variant#F0ECF9
Selected rows, tints
Dark surface#1A1424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #835bc9

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#A1C95B
Analogous left#5B6AC9
Analogous right#BA5BC9
Split-complement 1#C9BA5B
Split-complement 2#6AC95B
Triadic 1#C9835B
Triadic 2#5BC983
Tetradic#C95B6A

RGB percentages

Red51.4%
Green35.7%
Blue78.8%

CMYK percentages

Cyan34.8%
Magenta54.7%
Yellow0.0%
Key (black)21.2%

Color previews

#835bc9 text on a black background

contrast 4.30:1

Card sample

#835bc9 text on a white background

contrast 4.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #835bc9;
Background color
Panel with #835bc9 background
background-color: #835bc9;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #835bc9;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(131, 91, 201, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(131, 91, 201, 0.45);
Border & gradient
Gradient panel
border: 3px solid #835bc9;
background: linear-gradient(135deg, #835bc9, #C95BC6);

Monochromatic scale

Palettes built from #835bc9

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#835bc9 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#835bc9, answered

What color is #835bc9?

#835bc9 is a balanced vivid violet, closest to Slate Blue (ΔE2000 5.1). It sits at 262° on the hue wheel with 51% saturation and 57% lightness, which reads as cool.

What is the RGB value of #835bc9?

rgb(131, 91, 201) — 131 red, 91 green and 201 blue out of 255, or 51.4% / 35.7% / 78.8% by channel.

Is #835bc9 a light or a dark color?

It is a dark color. Relative luminance is 0.1652 and perceived brightness is 47%, so white text on it reaches 4.88:1.

Should I use black or white text on #835bc9?

White. It scores 4.88:1 against #835bc9, versus 4.30:1 for black — AA at any size.

What is the complementary color of #835bc9?

#A1C95B sits directly opposite on the wheel. Softer options are the split-complements #C9BA5B and #6AC95B, which give the same contrast with far less vibration.

What colors go well with #835bc9?

For interface work: #F7F4FA as the surface, #D1C2EB for borders, #684B9B for secondary text, #919D2F as an accent and #372060 for hover and pressed states. For a palette, the analogous pair #5B6AC9 and #BA5BC9 stays calm, while #A1C95B is the loudest partner.

What is #835bc9 in CMYK for printing?

cmyk(35%, 55%, 0%, 21%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #835bc9 warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AB5BC9; nudged cooler, #5959CB.

Work with #835bc9 in the Color Lab