#8F52DF#8F52DF

#8F52DF is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.9% C 0.206 H 299.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8F52DF
RGBrgb(143, 82, 223)
HSLhsl(266, 69%, 60%)
HSVhsv(266, 63%, 87%)
CMYKcmyk(35.9%, 63.2%, 0%, 12.5%)
CIE-LABlab(48.51, 53.27, -62.74)
CIE-LCHlch(48.51, 82.30, 310.33°)
OKLaboklab(57.92% 0.1025 -0.1784)
OKLCHoklch(57.92% 0.206 299.9)
XYZxyz(27.6610, 17.2017, 71.6607)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52DF #A2DF52
analogous
#525CDF #8F52DF #D552DF
triadic
#8F52DF #DF8F52 #52DF8F
tetradic
#8F52DF #DF525C #A2DF52 #52DFD5
square
#8F52DF #DF525C #A2DF52 #52DFD5
split-complementary
#8F52DF #DFD552 #5CDF52
monochromatic
#531D9A #6F26CE #8F52DF #B086E9 #D2B9F2

Accessibility & contrast

On white

4.73
#8F52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8F52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F52DF
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52DF#FFFFFF#000000##FFFFFF
##8F52DF1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#1072DC
Tritanopia (blue-blind)
#7D7191
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f52df;
/* rgb */ color: rgb(143, 82, 223);
/* oklch */ color: oklch(57.9% 0.206 299.9);
Tailwind
colors: {
  custom: {
    50: '#b586ea',
    500: '#8f52df',
    950: '#000000',
  },
}
SCSS
$custom: #8f52df;
$custom-light: #b586ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52df",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 265.957,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.5792,
    "c": 0.20576,
    "h": 299.9
  },
  "luminance": 0.17202
}

Semantic roles & 50–950 ramp

primary
#8F52DF
secondary
#CAE2AB
accent
#EC3CA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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