#835CEA#835CEA

#835CEA is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.204 H 291.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#835CEA
RGBrgb(131, 92, 234)
HSLhsl(256, 77%, 64%)
HSVhsv(256, 61%, 92%)
CMYKcmyk(44%, 60.7%, 0%, 8.2%)
CIE-LABlab(50.00, 48.34, -66.60)
CIE-LCHlch(50.00, 82.30, 305.97°)
OKLaboklab(58.95% 0.075 -0.1902)
OKLCHoklch(58.95% 0.204 291.5)
XYZxyz(28.0344, 18.4192, 79.9041)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#835CEA #C3EA5C
analogous
#5C7CEA #835CEA #CA5CEA
triadic
#835CEA #EA835C #5CEA83
tetradic
#835CEA #EA5C7C #C3EA5C #5CEACA
square
#835CEA #EA5C7C #C3EA5C #5CEACA
split-complementary
#835CEA #EACA5C #7CEA5C
monochromatic
#4217B4 #5A26E3 #835CEA #AC92F1 #D5C8F8

Accessibility & contrast

On white

4.48
#835CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#835CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #835CEA
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##835CEA#FFFFFF#000000##000000
##835CEA1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#657C9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #835cea;
/* rgb */ color: rgb(131, 92, 234);
/* oklch */ color: oklch(59.0% 0.204 291.5);
Tailwind
colors: {
  custom: {
    50: '#ae8cf2',
    500: '#835cea',
    950: '#000000',
  },
}
SCSS
$custom: #835cea;
$custom-light: #ae8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#835cea",
  "rgb": {
    "r": 131,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 256.479,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58951,
    "c": 0.20443,
    "h": 291.5
  },
  "luminance": 0.1842
}

Semantic roles & 50–950 ramp

primary
#835CEA
secondary
#DCEAB8
accent
#D90CA1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #835CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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