#836CBF#836CBF

#836CBF is a mid, vivid violet. Relative luminance 0.193; OKLCH L 58.9% C 0.125 H 295.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#836CBF
RGBrgb(131, 108, 191)
HSLhsl(257, 39%, 59%)
HSVhsv(257, 43%, 75%)
CMYKcmyk(31.4%, 43.5%, 0%, 25.1%)
CIE-LABlab(51.05, 27.57, -40.46)
CIE-LCHlch(51.05, 48.96, 304.27°)
OKLaboklab(58.91% 0.053 -0.1135)
OKLCHoklch(58.91% 0.125 295)
XYZxyz(24.1243, 19.3116, 51.7366)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836CBF #A8BF6C
analogous
#6C7EBF #836CBF #AC6CBF
triadic
#836CBF #BF836C #6CBF83
tetradic
#836CBF #BF6C7E #A8BF6C #6CBFAC
square
#836CBF #BF6C7E #A8BF6C #6CBFAC
split-complementary
#836CBF #BFAC6C #7EBF6C
monochromatic
#49367B #6248A6 #836CBF #A797D2 #CBC1E4

Accessibility & contrast

On white

4.32
#836CBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#836CBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836CBF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836CBF#FFFFFF#000000##000000
##836CBF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#537AC2
Deuteranopia (green-blind)
#5678BD
Tritanopia (blue-blind)
#767B8C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #836cbf;
/* rgb */ color: rgb(131, 108, 191);
/* oklch */ color: oklch(58.9% 0.125 295.0);
Tailwind
colors: {
  custom: {
    50: '#a996d2',
    500: '#836cbf',
    950: '#000000',
  },
}
SCSS
$custom: #836cbf;
$custom-light: #a996d2;
$custom-dark: #000000;
JSON
{
  "hex": "#836cbf",
  "rgb": {
    "r": 131,
    "g": 108,
    "b": 191
  },
  "hsl": {
    "h": 256.627,
    "s": 39.336,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58906,
    "c": 0.12529,
    "h": 295
  },
  "luminance": 0.19312
}

Semantic roles & 50–950 ramp

primary
#836CBF
secondary
#CBD4B3
accent
#CF59AE
background
#FAF9FC
surface
#F4F2F9
border
#CECCD2
text
#100D14
muted
#7F7E82

Preview Lab

Preview with #836CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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