#8152EA#8152EA

#8152EA is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.3% C 0.217 H 292.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8152EA
RGBrgb(129, 82, 234)
HSLhsl(259, 78%, 62%)
HSVhsv(259, 65%, 92%)
CMYKcmyk(44.9%, 65%, 0%, 8.2%)
CIE-LABlab(47.80, 53.33, -70.18)
CIE-LCHlch(47.80, 88.14, 307.23°)
OKLaboklab(57.31% 0.0827 -0.2007)
OKLCHoklch(57.31% 0.217 292.4)
XYZxyz(26.9177, 16.6414, 79.6198)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152EA #BBEA52
analogous
#526FEA #8152EA #CD52EA
triadic
#8152EA #EA8152 #52EA81
tetradic
#8152EA #EA526F #BBEA52 #52EACD
square
#8152EA #EA526F #BBEA52 #52EACD
split-complementary
#8152EA #EACD52 #6FEA52
monochromatic
#4415AD #591CE3 #8152EA #A989F1 #D0BFF7

Accessibility & contrast

On white

4.85
#8152EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8152EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152EA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152EA#FFFFFF#000000##FFFFFF
##8152EA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EF
Deuteranopia (green-blind)
#006EE7
Tritanopia (blue-blind)
#627697
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8152ea;
/* rgb */ color: rgb(129, 82, 234);
/* oklch */ color: oklch(57.3% 0.217 292.4);
Tailwind
colors: {
  custom: {
    50: '#ad85f2',
    500: '#8152ea',
    950: '#000000',
  },
}
SCSS
$custom: #8152ea;
$custom-light: #ad85f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8152ea",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 234
  },
  "hsl": {
    "h": 258.553,
    "s": 78.351,
    "l": 61.961
  },
  "oklch": {
    "l": 0.57313,
    "c": 0.21712,
    "h": 292.4
  },
  "luminance": 0.16642
}

Semantic roles & 50–950 ramp

primary
#8152EA
secondary
#D7E8B0
accent
#DB0B9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8152EA

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

Preview Lab → · Contrast checker → · Palette generator →

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