#836CD6#836CD6

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

Color values

HEX#836CD6
RGBrgb(131, 108, 214)
HSLhsl(253, 56%, 63%)
HSVhsv(253, 50%, 84%)
CMYKcmyk(38.8%, 49.5%, 0%, 16.1%)
CIE-LABlab(52.29, 33.74, -51.63)
CIE-LCHlch(52.29, 61.68, 303.17°)
OKLaboklab(60.24% 0.0559 -0.1461)
OKLCHoklch(60.24% 0.156 290.9)
XYZxyz(26.8570, 20.4047, 66.1288)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836CD6 #BFD66C
analogous
#6C8AD6 #836CD6 #B86CD6
triadic
#836CD6 #D6836C #6CD683
tetradic
#836CD6 #D66C8A #BFD66C #6CD6B8
square
#836CD6 #D66C8A #BFD66C #6CD6B8
split-complementary
#836CD6 #D6B86C #8AD66C
monochromatic
#442C9C #5B3CC9 #836CD6 #AB9CE3 #D4CCF1

Accessibility & contrast

On white

4.13
#836CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#836CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836CD6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836CD6#FFFFFF#000000##000000
##836CD61.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#427FDA
Deuteranopia (green-blind)
#457AD4
Tritanopia (blue-blind)
#6D8197
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #836cd6;
/* rgb */ color: rgb(131, 108, 214);
/* oklch */ color: oklch(60.2% 0.156 290.9);
Tailwind
colors: {
  custom: {
    50: '#ab96e3',
    500: '#836cd6',
    950: '#000000',
  },
}
SCSS
$custom: #836cd6;
$custom-light: #ab96e3;
$custom-dark: #000000;
JSON
{
  "hex": "#836cd6",
  "rgb": {
    "r": 131,
    "g": 108,
    "b": 214
  },
  "hsl": {
    "h": 253.019,
    "s": 56.383,
    "l": 63.137
  },
  "oklch": {
    "l": 0.60243,
    "c": 0.15648,
    "h": 290.9
  },
  "luminance": 0.20405
}

Semantic roles & 50–950 ramp

primary
#836CD6
secondary
#DAE2BC
accent
#C422A1
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D15
muted
#7F7E84

Preview Lab

Preview with #836CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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