#8152EF#8152EF

#8152EF is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.223 H 291.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8152EF
RGBrgb(129, 82, 239)
HSLhsl(258, 83%, 63%)
HSVhsv(258, 66%, 94%)
CMYKcmyk(46%, 65.7%, 0%, 6.3%)
CIE-LABlab(48.18, 54.67, -72.39)
CIE-LCHlch(48.18, 90.71, 307.06°)
OKLaboklab(57.7% 0.0821 -0.2072)
OKLCHoklch(57.7% 0.223 291.6)
XYZxyz(27.6462, 16.9327, 83.4563)
Luminance0.1693 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8152EF #C0EF52
analogous
#5271EF #8152EF #D052EF
triadic
#8152EF #EF8152 #52EF81
tetradic
#8152EF #EF5271 #C0EF52 #52EFD0
square
#8152EF #EF5271 #C0EF52 #52EFD0
split-complementary
#8152EF #EFD052 #71EF52
monochromatic
#4211B6 #581AEA #8152EF #AA8AF4 #D3C2F9

Accessibility & contrast

On white

4.79
#8152EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8152EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8152EF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8152EF#FFFFFF#000000##FFFFFF
##8152EF1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F4
Deuteranopia (green-blind)
#006FEC
Tritanopia (blue-blind)
#5F789A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8152ef;
/* rgb */ color: rgb(129, 82, 239);
/* oklch */ color: oklch(57.7% 0.223 291.6);
Tailwind
colors: {
  custom: {
    50: '#ae85f5',
    500: '#8152ef',
    950: '#000000',
  },
}
SCSS
$custom: #8152ef;
$custom-light: #ae85f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8152ef",
  "rgb": {
    "r": 129,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 257.962,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.57696,
    "c": 0.22292,
    "h": 291.6
  },
  "luminance": 0.16934
}

Semantic roles & 50–950 ramp

primary
#8152EF
secondary
#DAEBB2
accent
#DF069E
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8152EF

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

Preview Lab → · Contrast checker → · Palette generator →

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