#836AEB#836AEB

#836AEB is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.2% C 0.187 H 288.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#836AEB
RGBrgb(131, 106, 235)
HSLhsl(252, 76%, 67%)
HSVhsv(252, 55%, 92%)
CMYKcmyk(44.3%, 54.9%, 0%, 7.8%)
CIE-LABlab(53.09, 40.74, -62.17)
CIE-LCHlch(53.09, 74.33, 303.24°)
OKLaboklab(61.24% 0.0594 -0.1771)
OKLCHoklch(61.24% 0.187 288.6)
XYZxyz(29.5052, 21.1304, 81.1051)
Luminance0.2113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836AEB #D2EB6A
analogous
#6A92EB #836AEB #C46AEB
triadic
#836AEB #EB836A #6AEB83
tetradic
#836AEB #EB6A92 #D2EB6A #6AEBC4
square
#836AEB #EB6A92 #D2EB6A #6AEBC4
split-complementary
#836AEB #EBC46A #92EB6A
monochromatic
#3A1AC1 #5634E4 #836AEB #B0A0F2 #DDD6F9

Accessibility & contrast

On white

4.02
#836AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#836AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836AEB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836AEB#FFFFFF#000000##000000
##836AEB1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282EF
Deuteranopia (green-blind)
#247CE8
Tritanopia (blue-blind)
#6386A0
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #836aeb;
/* rgb */ color: rgb(131, 106, 235);
/* oklch */ color: oklch(61.2% 0.187 288.6);
Tailwind
colors: {
  custom: {
    50: '#ad95f2',
    500: '#836aeb',
    950: '#000000',
  },
}
SCSS
$custom: #836aeb;
$custom-light: #ad95f2;
$custom-dark: #000000;
JSON
{
  "hex": "#836aeb",
  "rgb": {
    "r": 131,
    "g": 106,
    "b": 235
  },
  "hsl": {
    "h": 251.628,
    "s": 76.331,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61244,
    "c": 0.18684,
    "h": 288.6
  },
  "luminance": 0.21132
}

Semantic roles & 50–950 ramp

primary
#836AEB
secondary
#E5EDC4
accent
#D90DB1
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #836AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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