#836AEF#836AEF

#836AEF is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.5% C 0.192 H 288.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#836AEF
RGBrgb(131, 106, 239)
HSLhsl(251, 81%, 68%)
HSVhsv(251, 56%, 94%)
CMYKcmyk(45.2%, 55.6%, 0%, 6.3%)
CIE-LABlab(53.35, 41.87, -64.00)
CIE-LCHlch(53.35, 76.48, 303.19°)
OKLaboklab(61.51% 0.0595 -0.1825)
OKLCHoklch(61.51% 0.192 288.1)
XYZxyz(30.0896, 21.3642, 84.1829)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836AEF #D6EF6A
analogous
#6A94EF #836AEF #C56AEF
triadic
#836AEF #EF836A #6AEF83
tetradic
#836AEF #EF6A94 #D6EF6A #6AEFC5
square
#836AEF #EF6A94 #D6EF6A #6AEFC5
split-complementary
#836AEF #EFC56A #94EF6A
monochromatic
#3716C9 #5533E9 #836AEF #B1A1F5 #DFD9FB

Accessibility & contrast

On white

3.98
#836AEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#836AEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836AEF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836AEF#FFFFFF#000000##000000
##836AEF1.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#1982F3
Deuteranopia (green-blind)
#1A7CEC
Tritanopia (blue-blind)
#6187A2
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #836aef;
/* rgb */ color: rgb(131, 106, 239);
/* oklch */ color: oklch(61.5% 0.192 288.1);
Tailwind
colors: {
  custom: {
    50: '#ae95f5',
    500: '#836aef',
    950: '#000000',
  },
}
SCSS
$custom: #836aef;
$custom-light: #ae95f5;
$custom-dark: #000000;
JSON
{
  "hex": "#836aef",
  "rgb": {
    "r": 131,
    "g": 106,
    "b": 239
  },
  "hsl": {
    "h": 251.278,
    "s": 80.606,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61513,
    "c": 0.19195,
    "h": 288.1
  },
  "luminance": 0.21365
}

Semantic roles & 50–950 ramp

primary
#836AEF
secondary
#E7EFC6
accent
#DD09B5
background
#FBF9FF
surface
#F6F2FE
border
#D0CCD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #836AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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