#835CD6#835CD6

#835CD6 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.180 H 294.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#835CD6
RGBrgb(131, 92, 214)
HSLhsl(259, 60%, 60%)
HSVhsv(259, 57%, 84%)
CMYKcmyk(38.8%, 57%, 0%, 16.1%)
CIE-LABlab(48.68, 42.94, -57.42)
CIE-LCHlch(48.68, 71.70, 306.79°)
OKLaboklab(57.56% 0.0756 -0.1632)
OKLCHoklch(57.56% 0.18 294.9)
XYZxyz(25.3216, 17.3341, 65.6170)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835CD6 #AFD65C
analogous
#5C72D6 #835CD6 #C05CD6
triadic
#835CD6 #D6835C #5CD683
tetradic
#835CD6 #D65C72 #AFD65C #5CD6C0
square
#835CD6 #D65C72 #AFD65C #5CD6C0
split-complementary
#835CD6 #D6C05C #72D65C
monochromatic
#482593 #6031C4 #835CD6 #A88DE2 #CDBEEF

Accessibility & contrast

On white

4.70
#835CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#835CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #835CD6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835CD6#FFFFFF#000000##FFFFFF
##835CD61.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1975DA
Deuteranopia (green-blind)
#2972D3
Tritanopia (blue-blind)
#6E7690
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #835cd6;
/* rgb */ color: rgb(131, 92, 214);
/* oklch */ color: oklch(57.6% 0.180 294.9);
Tailwind
colors: {
  custom: {
    50: '#ac8be3',
    500: '#835cd6',
    950: '#000000',
  },
}
SCSS
$custom: #835cd6;
$custom-light: #ac8be3;
$custom-dark: #000000;
JSON
{
  "hex": "#835cd6",
  "rgb": {
    "r": 131,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 259.18,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.57562,
    "c": 0.17983,
    "h": 294.9
  },
  "luminance": 0.17335
}

Semantic roles & 50–950 ramp

primary
#835CD6
secondary
#CFDEAF
accent
#E345B0
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110C15
muted
#807D84

Preview Lab

Preview with #835CD6

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#835CD6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva