#8F52DC#8F52DC

#8F52DC is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.7% C 0.202 H 300.5°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8F52DC
RGBrgb(143, 82, 220)
HSLhsl(267, 66%, 59%)
HSVhsv(267, 63%, 86%)
CMYKcmyk(35%, 62.7%, 0%, 13.7%)
CIE-LABlab(48.31, 52.53, -61.36)
CIE-LCHlch(48.31, 80.77, 310.57°)
OKLaboklab(57.71% 0.1027 -0.1744)
OKLCHoklch(57.71% 0.202 300.5)
XYZxyz(27.2601, 17.0413, 69.5494)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52DC #9FDC52
analogous
#525ADC #8F52DC #D452DC
triadic
#8F52DC #DC8F52 #52DC8F
tetradic
#8F52DC #DC525A #9FDC52 #52DCD4
square
#8F52DC #DC525A #9FDC52 #52DCD4
split-complementary
#8F52DC #DCD452 #5ADC52
monochromatic
#531E95 #6F29C8 #8F52DC #B085E6 #D1B8F1

Accessibility & contrast

On white

4.76
#8F52DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8F52DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F52DC
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52DC#FFFFFF#000000##FFFFFF
##8F52DC1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#1A72D9
Tritanopia (blue-blind)
#7F7090
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f52dc;
/* rgb */ color: rgb(143, 82, 220);
/* oklch */ color: oklch(57.7% 0.202 300.5);
Tailwind
colors: {
  custom: {
    50: '#b586e8',
    500: '#8f52dc',
    950: '#000000',
  },
}
SCSS
$custom: #8f52dc;
$custom-light: #b586e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52dc",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 266.522,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.20237,
    "h": 300.5
  },
  "luminance": 0.17042
}

Semantic roles & 50–950 ramp

primary
#8F52DC
secondary
#C8E0AA
accent
#E93F9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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