#836AEC#836AEC

#836AEC is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.3% C 0.188 H 288.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#836AEC
RGBrgb(131, 106, 236)
HSLhsl(252, 77%, 67%)
HSVhsv(252, 55%, 93%)
CMYKcmyk(44.5%, 55.1%, 0%, 7.5%)
CIE-LABlab(53.16, 41.02, -62.63)
CIE-LCHlch(53.16, 74.87, 303.22°)
OKLaboklab(61.31% 0.0595 -0.1785)
OKLCHoklch(61.31% 0.188 288.4)
XYZxyz(29.6501, 21.1884, 81.8681)
Luminance0.2119 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836AEC #D3EC6A
analogous
#6A92EC #836AEC #C46AEC
triadic
#836AEC #EC836A #6AEC83
tetradic
#836AEC #EC6A92 #D3EC6A #6AECC4
square
#836AEC #EC6A92 #D3EC6A #6AECC4
split-complementary
#836AEC #ECC46A #92EC6A
monochromatic
#3A19C3 #5634E5 #836AEC #B0A0F3 #DDD7FA

Accessibility & contrast

On white

4.01
#836AEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#836AEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836AEC
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836AEC#FFFFFF#000000##000000
##836AEC1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2082F0
Deuteranopia (green-blind)
#227CE9
Tritanopia (blue-blind)
#6386A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #836aec;
/* rgb */ color: rgb(131, 106, 236);
/* oklch */ color: oklch(61.3% 0.188 288.4);
Tailwind
colors: {
  custom: {
    50: '#ad95f3',
    500: '#836aec',
    950: '#000000',
  },
}
SCSS
$custom: #836aec;
$custom-light: #ad95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#836aec",
  "rgb": {
    "r": 131,
    "g": 106,
    "b": 236
  },
  "hsl": {
    "h": 251.538,
    "s": 77.381,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61311,
    "c": 0.18811,
    "h": 288.4
  },
  "luminance": 0.21189
}

Semantic roles & 50–950 ramp

primary
#836AEC
secondary
#E6EEC4
accent
#DA0CB2
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #836AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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