#836ED9#836ED9

#836ED9 is a mid, vivid violet. Relative luminance 0.210; OKLCH L 60.8% C 0.158 H 289.9°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#836ED9
RGBrgb(131, 110, 217)
HSLhsl(252, 58%, 64%)
HSVhsv(252, 49%, 85%)
CMYKcmyk(39.6%, 49.3%, 0%, 14.9%)
CIE-LABlab(52.93, 33.40, -52.30)
CIE-LCHlch(52.93, 62.05, 302.56°)
OKLaboklab(60.78% 0.0537 -0.1481)
OKLCHoklch(60.78% 0.158 289.9)
XYZxyz(27.4570, 20.9861, 68.2363)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836ED9 #C4D96E
analogous
#6E8FD9 #836ED9 #B96ED9
triadic
#836ED9 #D9836E #6ED983
tetradic
#836ED9 #D96E8F #C4D96E #6ED9B9
square
#836ED9 #D96E8F #C4D96E #6ED9B9
split-complementary
#836ED9 #D9B96E #8FD96E
monochromatic
#422AA2 #5A3ECC #836ED9 #AC9EE6 #D6CFF2

Accessibility & contrast

On white

4.04
#836ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#836ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836ED9
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836ED9#FFFFFF#000000##000000
##836ED91.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4380DD
Deuteranopia (green-blind)
#457CD7
Tritanopia (blue-blind)
#6C8499
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #836ed9;
/* rgb */ color: rgb(131, 110, 217);
/* oklch */ color: oklch(60.8% 0.158 289.9);
Tailwind
colors: {
  custom: {
    50: '#ab98e5',
    500: '#836ed9',
    950: '#000000',
  },
}
SCSS
$custom: #836ed9;
$custom-light: #ab98e5;
$custom-dark: #000000;
JSON
{
  "hex": "#836ed9",
  "rgb": {
    "r": 131,
    "g": 110,
    "b": 217
  },
  "hsl": {
    "h": 251.776,
    "s": 58.47,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60779,
    "c": 0.15755,
    "h": 289.9
  },
  "luminance": 0.20987
}

Semantic roles & 50–950 ramp

primary
#836ED9
secondary
#DDE4BF
accent
#C61FA5
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #836ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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