#836CEA#836CEA

#836CEA is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.5% C 0.183 H 288.2°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#836CEA
RGBrgb(131, 108, 234)
HSLhsl(251, 75%, 67%)
HSVhsv(251, 54%, 92%)
CMYKcmyk(44%, 53.8%, 0%, 8.2%)
CIE-LABlab(53.48, 39.31, -60.99)
CIE-LCHlch(53.48, 72.56, 302.80°)
OKLaboklab(61.51% 0.0571 -0.1736)
OKLCHoklch(61.51% 0.183 288.2)
XYZxyz(29.5697, 21.4898, 80.4159)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836CEA #D3EA6C
analogous
#6C94EA #836CEA #C26CEA
triadic
#836CEA #EA836C #6CEA83
tetradic
#836CEA #EA6C94 #D3EA6C #6CEAC2
square
#836CEA #EA6C94 #D3EA6C #6CEAC2
split-complementary
#836CEA #EAC26C #94EA6C
monochromatic
#3A1BC0 #5636E2 #836CEA #B0A2F2 #DDD7F9

Accessibility & contrast

On white

3.96
#836CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#836CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836CEA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836CEA#FFFFFF#000000##000000
##836CEA1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B83EE
Deuteranopia (green-blind)
#2C7DE7
Tritanopia (blue-blind)
#6487A1
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #836cea;
/* rgb */ color: rgb(131, 108, 234);
/* oklch */ color: oklch(61.5% 0.183 288.2);
Tailwind
colors: {
  custom: {
    50: '#ad96f1',
    500: '#836cea',
    950: '#000000',
  },
}
SCSS
$custom: #836cea;
$custom-light: #ad96f1;
$custom-dark: #000000;
JSON
{
  "hex": "#836cea",
  "rgb": {
    "r": 131,
    "g": 108,
    "b": 234
  },
  "hsl": {
    "h": 250.952,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61512,
    "c": 0.18278,
    "h": 288.2
  },
  "luminance": 0.21491
}

Semantic roles & 50–950 ramp

primary
#836CEA
secondary
#E6EDC5
accent
#D70EB3
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #836CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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