#8152EE#8152EE

#8152EE is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.6% C 0.222 H 291.8°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8152EE
RGBrgb(129, 82, 238)
HSLhsl(258, 82%, 63%)
HSVhsv(258, 66%, 93%)
CMYKcmyk(45.8%, 65.5%, 0%, 6.7%)
CIE-LABlab(48.10, 54.40, -71.95)
CIE-LCHlch(48.10, 90.20, 307.09°)
OKLaboklab(57.62% 0.0823 -0.2059)
OKLCHoklch(57.62% 0.222 291.8)
XYZxyz(27.4989, 16.8738, 82.6804)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152EE #BFEE52
analogous
#5271EE #8152EE #CF52EE
triadic
#8152EE #EE8152 #52EE81
tetradic
#8152EE #EE5271 #BFEE52 #52EECF
square
#8152EE #EE5271 #BFEE52 #52EECF
split-complementary
#8152EE #EECF52 #71EE52
monochromatic
#4312B4 #581AE9 #8152EE #AA8AF3 #D2C1F9

Accessibility & contrast

On white

4.80
#8152EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8152EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152EE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152EE#FFFFFF#000000##FFFFFF
##8152EE1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F3
Deuteranopia (green-blind)
#006FEB
Tritanopia (blue-blind)
#607899
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8152ee;
/* rgb */ color: rgb(129, 82, 238);
/* oklch */ color: oklch(57.6% 0.222 291.8);
Tailwind
colors: {
  custom: {
    50: '#ae85f5',
    500: '#8152ee',
    950: '#000000',
  },
}
SCSS
$custom: #8152ee;
$custom-light: #ae85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8152ee",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 238
  },
  "hsl": {
    "h": 258.077,
    "s": 82.105,
    "l": 62.745
  },
  "oklch": {
    "l": 0.57619,
    "c": 0.22177,
    "h": 291.8
  },
  "luminance": 0.16875
}

Semantic roles & 50–950 ramp

primary
#8152EE
secondary
#D9EAB2
accent
#DE079E
background
#FBF8FF
surface
#F6EFFE
border
#D0CAD6
text
#110B17
muted
#807C85

Preview Lab

Preview with #8152EE

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

Preview Lab → · Contrast checker → · Palette generator →

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