#836CD5#836CD5

#836CD5 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.2% C 0.155 H 291.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#836CD5
RGBrgb(131, 108, 213)
HSLhsl(253, 56%, 63%)
HSVhsv(253, 49%, 84%)
CMYKcmyk(38.5%, 49.3%, 0%, 16.5%)
CIE-LABlab(52.23, 33.47, -51.15)
CIE-LCHlch(52.23, 61.13, 303.20°)
OKLaboklab(60.18% 0.0558 -0.1447)
OKLCHoklch(60.18% 0.155 291.1)
XYZxyz(26.7296, 20.3538, 65.4582)
Luminance0.2036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836CD5 #BED56C
analogous
#6C89D5 #836CD5 #B86CD5
triadic
#836CD5 #D5836C #6CD583
tetradic
#836CD5 #D56C89 #BED56C #6CD5B8
square
#836CD5 #D56C89 #BED56C #6CD5B8
split-complementary
#836CD5 #D5B86C #89D56C
monochromatic
#442C9A #5B3CC7 #836CD5 #AB9CE3 #D3CBF0

Accessibility & contrast

On white

4.14
#836CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#836CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836CD5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836CD5#FFFFFF#000000##000000
##836CD51.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#437ED9
Deuteranopia (green-blind)
#467AD3
Tritanopia (blue-blind)
#6E8196
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #836cd5;
/* rgb */ color: rgb(131, 108, 213);
/* oklch */ color: oklch(60.2% 0.155 291.1);
Tailwind
colors: {
  custom: {
    50: '#ab96e2',
    500: '#836cd5',
    950: '#000000',
  },
}
SCSS
$custom: #836cd5;
$custom-light: #ab96e2;
$custom-dark: #000000;
JSON
{
  "hex": "#836cd5",
  "rgb": {
    "r": 131,
    "g": 108,
    "b": 213
  },
  "hsl": {
    "h": 253.143,
    "s": 55.556,
    "l": 62.941
  },
  "oklch": {
    "l": 0.60182,
    "c": 0.15514,
    "h": 291.1
  },
  "luminance": 0.20355
}

Semantic roles & 50–950 ramp

primary
#836CD5
secondary
#D9E1BB
accent
#C322A0
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #836CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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