#836CBD#836CBD

#836CBD is a mid, vivid violet. Relative luminance 0.192; OKLCH L 58.8% C 0.123 H 295.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#836CBD
RGBrgb(131, 108, 189)
HSLhsl(257, 38%, 58%)
HSVhsv(257, 43%, 74%)
CMYKcmyk(30.7%, 42.9%, 0%, 25.9%)
CIE-LABlab(50.95, 27.04, -39.47)
CIE-LCHlch(50.95, 47.85, 304.42°)
OKLaboklab(58.8% 0.0527 -0.1106)
OKLCHoklch(58.8% 0.123 295.5)
XYZxyz(23.9057, 19.2242, 50.5854)
Luminance0.1923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836CBD #A6BD6C
analogous
#6C7DBD #836CBD #AB6CBD
triadic
#836CBD #BD836C #6CBD83
tetradic
#836CBD #BD6C7D #A6BD6C #6CBDAB
square
#836CBD #BD6C7D #A6BD6C #6CBDAB
split-complementary
#836CBD #BDAB6C #7DBD6C
monochromatic
#493678 #6349A3 #836CBD #A796D0 #CAC0E3

Accessibility & contrast

On white

4.33
#836CBD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#836CBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836CBD
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836CBD#FFFFFF#000000##000000
##836CBD1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#547AC0
Deuteranopia (green-blind)
#5778BB
Tritanopia (blue-blind)
#767B8B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #836cbd;
/* rgb */ color: rgb(131, 108, 189);
/* oklch */ color: oklch(58.8% 0.123 295.5);
Tailwind
colors: {
  custom: {
    50: '#a996d1',
    500: '#836cbd',
    950: '#000000',
  },
}
SCSS
$custom: #836cbd;
$custom-light: #a996d1;
$custom-dark: #000000;
JSON
{
  "hex": "#836cbd",
  "rgb": {
    "r": 131,
    "g": 108,
    "b": 189
  },
  "hsl": {
    "h": 257.037,
    "s": 38.028,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58796,
    "c": 0.12254,
    "h": 295.5
  },
  "luminance": 0.19225
}

Semantic roles & 50–950 ramp

primary
#836CBD
secondary
#C9D3B2
accent
#CE5AAD
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #836CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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