#8F52DD#8F52DD

#8F52DD is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.203 H 300.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8F52DD
RGBrgb(143, 82, 221)
HSLhsl(266, 67%, 59%)
HSVhsv(266, 63%, 87%)
CMYKcmyk(35.3%, 62.9%, 0%, 13.3%)
CIE-LABlab(48.38, 52.78, -61.82)
CIE-LCHlch(48.38, 81.28, 310.49°)
OKLaboklab(57.78% 0.1026 -0.1757)
OKLCHoklch(57.78% 0.204 300.3)
XYZxyz(27.3930, 17.0945, 70.2490)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52DD #A0DD52
analogous
#525BDD #8F52DD #D552DD
triadic
#8F52DD #DD8F52 #52DD8F
tetradic
#8F52DD #DD525B #A0DD52 #52DDD5
square
#8F52DD #DD525B #A0DD52 #52DDD5
split-complementary
#8F52DD #DDD552 #5BDD52
monochromatic
#531E97 #6F28CA #8F52DD #B085E7 #D1B8F1

Accessibility & contrast

On white

4.75
#8F52DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8F52DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F52DD
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52DD#FFFFFF#000000##FFFFFF
##8F52DD1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#1772DA
Tritanopia (blue-blind)
#7E7190
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f52dd;
/* rgb */ color: rgb(143, 82, 221);
/* oklch */ color: oklch(57.8% 0.203 300.3);
Tailwind
colors: {
  custom: {
    50: '#b586e8',
    500: '#8f52dd',
    950: '#000000',
  },
}
SCSS
$custom: #8f52dd;
$custom-light: #b586e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52dd",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 266.331,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57781,
    "c": 0.2035,
    "h": 300.3
  },
  "luminance": 0.17095
}

Semantic roles & 50–950 ramp

primary
#8F52DD
secondary
#C9E0AA
accent
#EA3E9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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