#836AE5#836AE5

#836AE5 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 60.8% C 0.179 H 289.3°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#836AE5
RGBrgb(131, 106, 229)
HSLhsl(252, 70%, 66%)
HSVhsv(252, 54%, 90%)
CMYKcmyk(42.8%, 53.7%, 0%, 10.2%)
CIE-LABlab(52.72, 39.06, -59.41)
CIE-LCHlch(52.72, 71.10, 303.32°)
OKLaboklab(60.85% 0.0593 -0.169)
OKLCHoklch(60.85% 0.179 289.3)
XYZxyz(28.6530, 20.7895, 76.6166)
Luminance0.2079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836AE5 #CCE56A
analogous
#6A8EE5 #836AE5 #C06AE5
triadic
#836AE5 #E5836A #6AE583
tetradic
#836AE5 #E56A8E #CCE56A #6AE5C0
square
#836AE5 #E56A8E #CCE56A #6AE5C0
split-complementary
#836AE5 #E5C06A #8EE56A
monochromatic
#3E20B5 #5836DC #836AE5 #AE9EEE #DAD2F7

Accessibility & contrast

On white

4.07
#836AE5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#836AE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836AE5
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836AE5#FFFFFF#000000##000000
##836AE51.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D80E9
Deuteranopia (green-blind)
#2F7BE2
Tritanopia (blue-blind)
#66849D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #836ae5;
/* rgb */ color: rgb(131, 106, 229);
/* oklch */ color: oklch(60.8% 0.179 289.3);
Tailwind
colors: {
  custom: {
    50: '#ac95ee',
    500: '#836ae5',
    950: '#000000',
  },
}
SCSS
$custom: #836ae5;
$custom-light: #ac95ee;
$custom-dark: #000000;
JSON
{
  "hex": "#836ae5",
  "rgb": {
    "r": 131,
    "g": 106,
    "b": 229
  },
  "hsl": {
    "h": 252.195,
    "s": 70.286,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60847,
    "c": 0.1791,
    "h": 289.3
  },
  "luminance": 0.20791
}

Semantic roles & 50–950 ramp

primary
#836AE5
secondary
#E2EAC1
accent
#D213AB
background
#FBF9FE
surface
#F6F2FD
border
#D0CCD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #836AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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