#836CD2#836CD2

#836CD2 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.0% C 0.151 H 291.6°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#836CD2
RGBrgb(131, 108, 210)
HSLhsl(254, 53%, 62%)
HSVhsv(254, 49%, 82%)
CMYKcmyk(37.6%, 48.6%, 0%, 17.6%)
CIE-LABlab(52.07, 32.65, -49.72)
CIE-LCHlch(52.07, 59.48, 303.29°)
OKLaboklab(60% 0.0555 -0.1405)
OKLCHoklch(60% 0.151 291.6)
XYZxyz(26.3524, 20.2029, 63.4714)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836CD2 #BBD26C
analogous
#6C88D2 #836CD2 #B66CD2
triadic
#836CD2 #D2836C #6CD283
tetradic
#836CD2 #D26C88 #BBD26C #6CD2B6
square
#836CD2 #D26C88 #BBD26C #6CD2B6
split-complementary
#836CD2 #D2B66C #88D26C
monochromatic
#452E96 #5B3DC4 #836CD2 #AB9BE0 #D2CAEF

Accessibility & contrast

On white

4.17
#836CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#836CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836CD2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836CD2#FFFFFF#000000##000000
##836CD21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#467ED6
Deuteranopia (green-blind)
#487AD0
Tritanopia (blue-blind)
#6F8095
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #836cd2;
/* rgb */ color: rgb(131, 108, 210);
/* oklch */ color: oklch(60.0% 0.151 291.6);
Tailwind
colors: {
  custom: {
    50: '#ab96e0',
    500: '#836cd2',
    950: '#000000',
  },
}
SCSS
$custom: #836cd2;
$custom-light: #ab96e0;
$custom-dark: #000000;
JSON
{
  "hex": "#836cd2",
  "rgb": {
    "r": 131,
    "g": 108,
    "b": 210
  },
  "hsl": {
    "h": 253.529,
    "s": 53.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.60001,
    "c": 0.15112,
    "h": 291.6
  },
  "luminance": 0.20204
}

Semantic roles & 50–950 ramp

primary
#836CD2
secondary
#D7E0BA
accent
#C1259D
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #836CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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