#836AFB#836AFB

#836AFB is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.3% C 0.207 H 286.7°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#836AFB
RGBrgb(131, 106, 251)
HSLhsl(250, 95%, 70%)
HSVhsv(250, 58%, 98%)
CMYKcmyk(47.8%, 57.8%, 0%, 1.6%)
CIE-LABlab(54.13, 45.27, -69.41)
CIE-LCHlch(54.13, 82.87, 303.11°)
OKLaboklab(62.34% 0.0594 -0.1984)
OKLCHoklch(62.34% 0.207 286.7)
XYZxyz(31.9216, 22.0970, 93.8312)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#836AFB #E2FB6A
analogous
#6A99FB #836AFB #CC6AFB
triadic
#836AFB #FB836A #6AFB83
tetradic
#836AFB #FB6A99 #E2FB6A #6AFBCC
square
#836AFB #FB6A99 #E2FB6A #6AFBCC
split-complementary
#836AFB #FBCC6A #99FB6A
monochromatic
#2C06E4 #512EF9 #836AFB #B5A6FD #E6E1FE

Accessibility & contrast

On white

3.87
#836AFB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#836AFB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #836AFB
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##836AFB#FFFFFF#000000##000000
##836AFB1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FF
Deuteranopia (green-blind)
#007DF8
Tritanopia (blue-blind)
#5A8BA8
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #836afb;
/* rgb */ color: rgb(131, 106, 251);
/* oklch */ color: oklch(62.3% 0.207 286.7);
Tailwind
colors: {
  custom: {
    50: '#af95fd',
    500: '#836afb',
    950: '#000000',
  },
}
SCSS
$custom: #836afb;
$custom-light: #af95fd;
$custom-dark: #000000;
JSON
{
  "hex": "#836afb",
  "rgb": {
    "r": 131,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 250.345,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.6234,
    "c": 0.20711,
    "h": 286.7
  },
  "luminance": 0.22098
}

Semantic roles & 50–950 ramp

primary
#836AFB
secondary
#EEF5CC
accent
#E600BE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D18
muted
#807E86

Preview Lab

Preview with #836AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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