#8F52DE#8F52DE

#8F52DE is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.9% C 0.205 H 300.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8F52DE
RGBrgb(143, 82, 222)
HSLhsl(266, 68%, 60%)
HSVhsv(266, 63%, 87%)
CMYKcmyk(35.6%, 63.1%, 0%, 12.9%)
CIE-LABlab(48.45, 53.02, -62.28)
CIE-LCHlch(48.45, 81.79, 310.41°)
OKLaboklab(57.85% 0.1026 -0.1771)
OKLCHoklch(57.85% 0.205 300.1)
XYZxyz(27.5266, 17.1479, 70.9527)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52DE #A1DE52
analogous
#525BDE #8F52DE #D552DE
triadic
#8F52DE #DE8F52 #52DE8F
tetradic
#8F52DE #DE525B #A1DE52 #52DED5
square
#8F52DE #DE525B #A1DE52 #52DED5
split-complementary
#8F52DE #DED552 #5BDE52
monochromatic
#531D99 #6F27CC #8F52DE #B085E8 #D2B9F2

Accessibility & contrast

On white

4.74
#8F52DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8F52DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F52DE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52DE#FFFFFF#000000##FFFFFF
##8F52DE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#1472DB
Tritanopia (blue-blind)
#7E7191
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f52de;
/* rgb */ color: rgb(143, 82, 222);
/* oklch */ color: oklch(57.9% 0.205 300.1);
Tailwind
colors: {
  custom: {
    50: '#b586e9',
    500: '#8f52de',
    950: '#000000',
  },
}
SCSS
$custom: #8f52de;
$custom-light: #b586e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52de",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 266.143,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5785,
    "c": 0.20463,
    "h": 300.1
  },
  "luminance": 0.17148
}

Semantic roles & 50–950 ramp

primary
#8F52DE
secondary
#C9E1AB
accent
#EB3D9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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