#8152E9#8152E9

#8152E9 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.216 H 292.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8152E9
RGBrgb(129, 82, 233)
HSLhsl(259, 77%, 62%)
HSVhsv(259, 65%, 91%)
CMYKcmyk(44.6%, 64.8%, 0%, 8.6%)
CIE-LABlab(47.73, 53.06, -69.73)
CIE-LCHlch(47.73, 87.62, 307.27°)
OKLaboklab(57.24% 0.0828 -0.1994)
OKLCHoklch(57.24% 0.216 292.6)
XYZxyz(26.7745, 16.5841, 78.8653)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152E9 #BAE952
analogous
#526FE9 #8152E9 #CC52E9
triadic
#8152E9 #E98152 #52E981
tetradic
#8152E9 #E9526F #BAE952 #52E9CC
square
#8152E9 #E9526F #BAE952 #52E9CC
split-complementary
#8152E9 #E9CC52 #6FE952
monochromatic
#4416AB #5A1DE1 #8152E9 #A988F0 #D0BFF7

Accessibility & contrast

On white

4.86
#8152E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8152E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152E9
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152E9#FFFFFF#000000##FFFFFF
##8152E91.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EE
Deuteranopia (green-blind)
#006EE6
Tritanopia (blue-blind)
#637696
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8152e9;
/* rgb */ color: rgb(129, 82, 233);
/* oklch */ color: oklch(57.2% 0.216 292.6);
Tailwind
colors: {
  custom: {
    50: '#ad85f1',
    500: '#8152e9',
    950: '#000000',
  },
}
SCSS
$custom: #8152e9;
$custom-light: #ad85f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8152e9",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 258.675,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.57237,
    "c": 0.21596,
    "h": 292.6
  },
  "luminance": 0.16585
}

Semantic roles & 50–950 ramp

primary
#8152E9
secondary
#D6E7AF
accent
#DA0C9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8152E9

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

Preview Lab → · Contrast checker → · Palette generator →

#8152E9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva