#836DDC#836DDC

#836DDC is a mid, vivid violet. Relative luminance 0.209; OKLCH L 60.8% C 0.163 H 289.8°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#836DDC
RGBrgb(131, 109, 220)
HSLhsl(252, 61%, 65%)
HSVhsv(252, 50%, 86%)
CMYKcmyk(40.5%, 50.5%, 0%, 13.7%)
CIE-LABlab(52.87, 34.81, -54.09)
CIE-LCHlch(52.87, 64.33, 302.76°)
OKLaboklab(60.79% 0.0552 -0.1534)
OKLCHoklch(60.79% 0.163 289.8)
XYZxyz(27.7434, 20.9290, 70.2742)
Luminance0.2093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836DDC #C6DC6D
analogous
#6D8FDC #836DDC #BB6DDC
triadic
#836DDC #DC836D #6DDC83
tetradic
#836DDC #DC6D8F #C6DC6D #6DDCBB
square
#836DDC #DC6D8F #C6DC6D #6DDCBB
split-complementary
#836DDC #DCBB6D #8FDC6D
monochromatic
#4128A7 #593CD0 #836DDC #AD9EE8 #D7D0F4

Accessibility & contrast

On white

4.05
#836DDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#836DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836DDC
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836DDC#FFFFFF#000000##000000
##836DDC1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E80E0
Deuteranopia (green-blind)
#407CD9
Tritanopia (blue-blind)
#6A849A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #836ddc;
/* rgb */ color: rgb(131, 109, 220);
/* oklch */ color: oklch(60.8% 0.163 289.8);
Tailwind
colors: {
  custom: {
    50: '#ab97e7',
    500: '#836ddc',
    950: '#000000',
  },
}
SCSS
$custom: #836ddc;
$custom-light: #ab97e7;
$custom-dark: #000000;
JSON
{
  "hex": "#836ddc",
  "rgb": {
    "r": 131,
    "g": 109,
    "b": 220
  },
  "hsl": {
    "h": 251.892,
    "s": 61.326,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.163,
    "h": 289.8
  },
  "luminance": 0.2093
}

Semantic roles & 50–950 ramp

primary
#836DDC
secondary
#DEE6BF
accent
#C91CA7
background
#FAF9FE
surface
#F5F2FC
border
#CFCCD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #836DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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