#836CDC#836CDC

#836CDC is a mid, vivid violet. Relative luminance 0.207; OKLCH L 60.6% C 0.164 H 290.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#836CDC
RGBrgb(131, 108, 220)
HSLhsl(252, 62%, 64%)
HSVhsv(252, 51%, 86%)
CMYKcmyk(40.5%, 50.9%, 0%, 13.7%)
CIE-LABlab(52.64, 35.40, -54.47)
CIE-LCHlch(52.64, 64.96, 303.02°)
OKLaboklab(60.61% 0.0564 -0.1545)
OKLCHoklch(60.61% 0.164 290.1)
XYZxyz(27.6374, 20.7169, 70.2389)
Luminance0.2072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836CDC #C5DC6C
analogous
#6C8DDC #836CDC #BB6CDC
triadic
#836CDC #DC836C #6CDC83
tetradic
#836CDC #DC6C8D #C5DC6C #6CDCBB
square
#836CDC #DC6C8D #C5DC6C #6CDCBB
split-complementary
#836CDC #DCBB6C #8DDC6C
monochromatic
#4228A6 #593BD0 #836CDC #AD9DE8 #D6CFF4

Accessibility & contrast

On white

4.08
#836CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#836CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836CDC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836CDC#FFFFFF#000000##000000
##836CDC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E0
Deuteranopia (green-blind)
#3F7BD9
Tritanopia (blue-blind)
#6A839A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #836cdc;
/* rgb */ color: rgb(131, 108, 220);
/* oklch */ color: oklch(60.6% 0.164 290.1);
Tailwind
colors: {
  custom: {
    50: '#ac96e7',
    500: '#836cdc',
    950: '#000000',
  },
}
SCSS
$custom: #836cdc;
$custom-light: #ac96e7;
$custom-dark: #000000;
JSON
{
  "hex": "#836cdc",
  "rgb": {
    "r": 131,
    "g": 108,
    "b": 220
  },
  "hsl": {
    "h": 252.321,
    "s": 61.538,
    "l": 64.314
  },
  "oklch": {
    "l": 0.60614,
    "c": 0.16445,
    "h": 290.1
  },
  "luminance": 0.20718
}

Semantic roles & 50–950 ramp

primary
#836CDC
secondary
#DDE5BE
accent
#C91CA6
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #836CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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