#8E52BF#8E52BF

#8E52BF is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.7% C 0.169 H 307.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8E52BF
RGBrgb(142, 82, 191)
HSLhsl(273, 46%, 54%)
HSVhsv(273, 57%, 75%)
CMYKcmyk(25.7%, 57.1%, 0%, 25.1%)
CIE-LABlab(46.37, 45.30, -47.82)
CIE-LCHlch(46.37, 65.87, 313.45°)
OKLaboklab(55.69% 0.1021 -0.1347)
OKLCHoklch(55.69% 0.169 307.2)
XYZxyz(23.5747, 15.5472, 51.0391)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E52BF #83BF52
analogous
#5752BF #8E52BF #BF52B9
triadic
#8E52BF #BF8E52 #52BF8E
tetradic
#8E52BF #BF5752 #83BF52 #52B9BF
square
#8E52BF #BF5752 #83BF52 #52B9BF
split-complementary
#8E52BF #B9BF52 #52BF57
monochromatic
#4F296E #6F399B #8E52BF #AB7FD0 #C8ABE0

Accessibility & contrast

On white

5.11
#8E52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8E52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E52BF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E52BF#FFFFFF#000000##FFFFFF
##8E52BF1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A6CC3
Deuteranopia (green-blind)
#416EBC
Tritanopia (blue-blind)
#866681
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8e52bf;
/* rgb */ color: rgb(142, 82, 191);
/* oklch */ color: oklch(55.7% 0.169 307.2);
Tailwind
colors: {
  custom: {
    50: '#b285d3',
    500: '#8e52bf',
    950: '#000000',
  },
}
SCSS
$custom: #8e52bf;
$custom-light: #b285d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e52bf",
  "rgb": {
    "r": 142,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 273.028,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55691,
    "c": 0.16899,
    "h": 307.2
  },
  "luminance": 0.15547
}

Semantic roles & 50–950 ramp

primary
#8E52BF
secondary
#B4CE9F
accent
#D6528D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8E52BF

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

Preview Lab → · Contrast checker → · Palette generator →

#8E52BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva