#836CB5#836CB5

#836CB5 is a mid, moderate violet. Relative luminance 0.189; OKLCH L 58.4% C 0.111 H 297.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#836CB5
RGBrgb(131, 108, 181)
HSLhsl(259, 33%, 57%)
HSVhsv(259, 40%, 71%)
CMYKcmyk(27.6%, 40.3%, 0%, 29%)
CIE-LABlab(50.55, 24.98, -35.47)
CIE-LCHlch(50.55, 43.39, 305.16°)
OKLaboklab(58.37% 0.0512 -0.099)
OKLCHoklch(58.37% 0.111 297.3)
XYZxyz(23.0612, 18.8864, 46.1376)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836CB5 #9EB56C
analogous
#6C7AB5 #836CB5 #A86CB5
triadic
#836CB5 #B5836C #6CB583
tetradic
#836CB5 #B56C7A #9EB56C #6CB5A8
square
#836CB5 #B56C7A #9EB56C #6CB5A8
split-complementary
#836CB5 #B5A86C #7AB56C
monochromatic
#49386F #644C98 #836CB5 #A595C9 #C8BDDE

Accessibility & contrast

On white

4.40
#836CB5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#836CB5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836CB5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836CB5#FFFFFF#000000##000000
##836CB51.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5879B8
Deuteranopia (green-blind)
#5C78B3
Tritanopia (blue-blind)
#797988
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #836cb5;
/* rgb */ color: rgb(131, 108, 181);
/* oklch */ color: oklch(58.4% 0.111 297.3);
Tailwind
colors: {
  custom: {
    50: '#a996cb',
    500: '#836cb5',
    950: '#000000',
  },
}
SCSS
$custom: #836cb5;
$custom-light: #a996cb;
$custom-dark: #000000;
JSON
{
  "hex": "#836cb5",
  "rgb": {
    "r": 131,
    "g": 108,
    "b": 181
  },
  "hsl": {
    "h": 258.904,
    "s": 33.032,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58369,
    "c": 0.11147,
    "h": 297.3
  },
  "luminance": 0.18887
}

Semantic roles & 50–950 ramp

primary
#836CB5
secondary
#C4CDAF
accent
#C95FA8
background
#FAF9FC
surface
#F4F2F8
border
#CECCD1
text
#100D13
muted
#7F7E82

Preview Lab

Preview with #836CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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