#836CD9#836CD9

#836CD9 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.4% C 0.160 H 290.5°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#836CD9
RGBrgb(131, 108, 217)
HSLhsl(253, 59%, 64%)
HSVhsv(253, 50%, 85%)
CMYKcmyk(39.6%, 50.2%, 0%, 14.9%)
CIE-LABlab(52.46, 34.57, -53.05)
CIE-LCHlch(52.46, 63.32, 303.09°)
OKLaboklab(60.43% 0.0562 -0.1503)
OKLCHoklch(60.43% 0.16 290.5)
XYZxyz(27.2436, 20.5594, 68.1651)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836CD9 #C2D96C
analogous
#6C8BD9 #836CD9 #B96CD9
triadic
#836CD9 #D9836C #6CD983
tetradic
#836CD9 #D96C8B #C2D96C #6CD9B9
square
#836CD9 #D96C8B #C2D96C #6CD9B9
split-complementary
#836CD9 #D9B96C #8BD96C
monochromatic
#432AA1 #5A3BCC #836CD9 #AC9DE6 #D5CDF2

Accessibility & contrast

On white

4.11
#836CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#836CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836CD9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836CD9#FFFFFF#000000##000000
##836CD91.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F7FDD
Deuteranopia (green-blind)
#427BD7
Tritanopia (blue-blind)
#6C8298
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #836cd9;
/* rgb */ color: rgb(131, 108, 217);
/* oklch */ color: oklch(60.4% 0.160 290.5);
Tailwind
colors: {
  custom: {
    50: '#ab96e5',
    500: '#836cd9',
    950: '#000000',
  },
}
SCSS
$custom: #836cd9;
$custom-light: #ab96e5;
$custom-dark: #000000;
JSON
{
  "hex": "#836cd9",
  "rgb": {
    "r": 131,
    "g": 108,
    "b": 217
  },
  "hsl": {
    "h": 252.661,
    "s": 58.919,
    "l": 63.725
  },
  "oklch": {
    "l": 0.60427,
    "c": 0.16048,
    "h": 290.5
  },
  "luminance": 0.2056
}

Semantic roles & 50–950 ramp

primary
#836CD9
secondary
#DCE4BD
accent
#C71FA3
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #836CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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