#836BD2#836BD2

#836BD2 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 59.8% C 0.153 H 291.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#836BD2
RGBrgb(131, 107, 210)
HSLhsl(254, 53%, 62%)
HSVhsv(254, 49%, 82%)
CMYKcmyk(37.6%, 49%, 0%, 17.6%)
CIE-LABlab(51.83, 33.23, -50.09)
CIE-LCHlch(51.83, 60.11, 303.56°)
OKLaboklab(59.82% 0.0568 -0.1417)
OKLCHoklch(59.82% 0.153 291.9)
XYZxyz(26.2475, 19.9932, 63.4364)
Luminance0.1999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836BD2 #BAD26B
analogous
#6B86D2 #836BD2 #B76BD2
triadic
#836BD2 #D2836B #6BD283
tetradic
#836BD2 #D26B86 #BAD26B #6BD2B7
square
#836BD2 #D26B86 #BAD26B #6BD2B7
split-complementary
#836BD2 #D2B76B #86D26B
monochromatic
#462D95 #5C3CC4 #836BD2 #AA9AE0 #D2C9EF

Accessibility & contrast

On white

4.20
#836BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#836BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836BD2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836BD2#FFFFFF#000000##000000
##836BD21.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD6
Deuteranopia (green-blind)
#477AD0
Tritanopia (blue-blind)
#6F8095
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #836bd2;
/* rgb */ color: rgb(131, 107, 210);
/* oklch */ color: oklch(59.8% 0.153 291.9);
Tailwind
colors: {
  custom: {
    50: '#ab96e0',
    500: '#836bd2',
    950: '#000000',
  },
}
SCSS
$custom: #836bd2;
$custom-light: #ab96e0;
$custom-dark: #000000;
JSON
{
  "hex": "#836bd2",
  "rgb": {
    "r": 131,
    "g": 107,
    "b": 210
  },
  "hsl": {
    "h": 253.981,
    "s": 53.368,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59824,
    "c": 0.15263,
    "h": 291.9
  },
  "luminance": 0.19994
}

Semantic roles & 50–950 ramp

primary
#836BD2
secondary
#D6DFB9
accent
#C1259C
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #836BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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