#836EDB#836EDB

#836EDB is a mid, vivid violet. Relative luminance 0.211; OKLCH L 60.9% C 0.160 H 289.6°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#836EDB
RGBrgb(131, 110, 219)
HSLhsl(252, 60%, 65%)
HSVhsv(252, 50%, 86%)
CMYKcmyk(40.2%, 49.8%, 0%, 14.1%)
CIE-LABlab(53.05, 33.95, -53.25)
CIE-LCHlch(53.05, 63.15, 302.52°)
OKLaboklab(60.9% 0.0539 -0.1509)
OKLCHoklch(60.9% 0.16 289.6)
XYZxyz(27.7187, 21.0908, 69.6146)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836EDB #C6DB6E
analogous
#6E8FDB #836EDB #BA6EDB
triadic
#836EDB #DB836E #6EDB83
tetradic
#836EDB #DB6E8F #C6DB6E #6EDBBA
square
#836EDB #DB6E8F #C6DB6E #6EDBBA
split-complementary
#836EDB #DBBA6E #8FDB6E
monochromatic
#4129A6 #593DCF #836EDB #AD9FE7 #D7D0F3

Accessibility & contrast

On white

4.02
#836EDB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#836EDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836EDB
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836EDB#FFFFFF#000000##000000
##836EDB1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4181DF
Deuteranopia (green-blind)
#437CD9
Tritanopia (blue-blind)
#6B849A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #836edb;
/* rgb */ color: rgb(131, 110, 219);
/* oklch */ color: oklch(60.9% 0.160 289.6);
Tailwind
colors: {
  custom: {
    50: '#ab98e7',
    500: '#836edb',
    950: '#000000',
  },
}
SCSS
$custom: #836edb;
$custom-light: #ab98e7;
$custom-dark: #000000;
JSON
{
  "hex": "#836edb",
  "rgb": {
    "r": 131,
    "g": 110,
    "b": 219
  },
  "hsl": {
    "h": 251.56,
    "s": 60.221,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60902,
    "c": 0.16021,
    "h": 289.6
  },
  "luminance": 0.21092
}

Semantic roles & 50–950 ramp

primary
#836EDB
secondary
#DEE5C0
accent
#C81EA7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #836EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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