#836DCD#836DCD

#836DCD is a mid, vivid violet. Relative luminance 0.202; OKLCH L 59.9% C 0.143 H 292.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#836DCD
RGBrgb(131, 109, 205)
HSLhsl(254, 49%, 62%)
HSVhsv(254, 47%, 80%)
CMYKcmyk(36.1%, 46.8%, 0%, 19.6%)
CIE-LABlab(52.03, 30.70, -46.93)
CIE-LCHlch(52.03, 56.08, 303.19°)
OKLaboklab(59.88% 0.0537 -0.1324)
OKLCHoklch(59.88% 0.143 292.1)
XYZxyz(25.8453, 20.1697, 60.2772)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836DCD #B7CD6D
analogous
#6D87CD #836DCD #B36DCD
triadic
#836DCD #CD836D #6DCD83
tetradic
#836DCD #CD6D87 #B7CD6D #6DCDB3
square
#836DCD #CD6D87 #B7CD6D #6DCDB3
split-complementary
#836DCD #CDB36D #87CD6D
monochromatic
#46318F #5D40BC #836DCD #AA9BDD #D0C8EC

Accessibility & contrast

On white

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

On black

5.03
#836DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836DCD
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836DCD#FFFFFF#000000##000000
##836DCD1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B7DD0
Deuteranopia (green-blind)
#4E7ACB
Tritanopia (blue-blind)
#718093
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #836dcd;
/* rgb */ color: rgb(131, 109, 205);
/* oklch */ color: oklch(59.9% 0.143 292.1);
Tailwind
colors: {
  custom: {
    50: '#aa97dd',
    500: '#836dcd',
    950: '#000000',
  },
}
SCSS
$custom: #836dcd;
$custom-light: #aa97dd;
$custom-dark: #000000;
JSON
{
  "hex": "#836dcd",
  "rgb": {
    "r": 131,
    "g": 109,
    "b": 205
  },
  "hsl": {
    "h": 253.75,
    "s": 48.98,
    "l": 61.569
  },
  "oklch": {
    "l": 0.59883,
    "c": 0.14286,
    "h": 292.1
  },
  "luminance": 0.2017
}

Semantic roles & 50–950 ramp

primary
#836DCD
secondary
#D5DDB9
accent
#BC299B
background
#FAF9FD
surface
#F4F2FB
border
#CECCD4
text
#100D15
muted
#7F7E83

Preview Lab

Preview with #836DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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