#836DEC#836DEC

#836DEC is a mid, vivid violet. Relative luminance 0.218; OKLCH L 61.8% C 0.184 H 287.7°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#836DEC
RGBrgb(131, 109, 236)
HSLhsl(250, 77%, 68%)
HSVhsv(250, 54%, 93%)
CMYKcmyk(44.5%, 53.8%, 0%, 7.5%)
CIE-LABlab(53.83, 39.30, -61.54)
CIE-LCHlch(53.83, 73.02, 302.56°)
OKLaboklab(61.81% 0.056 -0.1752)
OKLCHoklch(61.81% 0.184 287.7)
XYZxyz(29.9647, 21.8175, 81.9730)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836DEC #D6EC6D
analogous
#6D96EC #836DEC #C36DEC
triadic
#836DEC #EC836D #6DEC83
tetradic
#836DEC #EC6D96 #D6EC6D #6DECC3
square
#836DEC #EC6D96 #D6EC6D #6DECC3
split-complementary
#836DEC #ECC36D #96EC6D
monochromatic
#371AC5 #5537E5 #836DEC #B1A3F3 #DFD9FA

Accessibility & contrast

On white

3.92
#836DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#836DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836DEC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836DEC#FFFFFF#000000##000000
##836DEC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B84F0
Deuteranopia (green-blind)
#2B7DE9
Tritanopia (blue-blind)
#6289A2
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #836dec;
/* rgb */ color: rgb(131, 109, 236);
/* oklch */ color: oklch(61.8% 0.184 287.7);
Tailwind
colors: {
  custom: {
    50: '#ad97f3',
    500: '#836dec',
    950: '#000000',
  },
}
SCSS
$custom: #836dec;
$custom-light: #ad97f3;
$custom-dark: #000000;
JSON
{
  "hex": "#836dec",
  "rgb": {
    "r": 131,
    "g": 109,
    "b": 236
  },
  "hsl": {
    "h": 250.394,
    "s": 76.97,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61813,
    "c": 0.18399,
    "h": 287.7
  },
  "luminance": 0.21819
}

Semantic roles & 50–950 ramp

primary
#836DEC
secondary
#E7EEC7
accent
#D90CB6
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #836DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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