#8F52DA#8F52DA

#8F52DA is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.6% C 0.200 H 300.9°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8F52DA
RGBrgb(143, 82, 218)
HSLhsl(267, 65%, 59%)
HSVhsv(267, 62%, 85%)
CMYKcmyk(34.4%, 62.4%, 0%, 14.5%)
CIE-LABlab(48.18, 52.04, -60.44)
CIE-LCHlch(48.18, 79.75, 310.73°)
OKLaboklab(57.57% 0.1028 -0.1717)
OKLCHoklch(57.57% 0.2 300.9)
XYZxyz(26.9968, 16.9360, 68.1628)
Luminance0.1694 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52DA #9DDA52
analogous
#5259DA #8F52DA #D352DA
triadic
#8F52DA #DA8F52 #52DA8F
tetradic
#8F52DA #DA5259 #9DDA52 #52DAD3
square
#8F52DA #DA5259 #9DDA52 #52DAD3
split-complementary
#8F52DA #DAD352 #59DA52
monochromatic
#531F92 #6F2AC5 #8F52DA #B084E5 #D0B7F0

Accessibility & contrast

On white

4.79
#8F52DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8F52DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F52DA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52DA#FFFFFF#000000##FFFFFF
##8F52DA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#1F72D7
Tritanopia (blue-blind)
#7F6F8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f52da;
/* rgb */ color: rgb(143, 82, 218);
/* oklch */ color: oklch(57.6% 0.200 300.9);
Tailwind
colors: {
  custom: {
    50: '#b586e6',
    500: '#8f52da',
    950: '#000000',
  },
}
SCSS
$custom: #8f52da;
$custom-light: #b586e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52da",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 266.912,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57573,
    "c": 0.20011,
    "h": 300.9
  },
  "luminance": 0.16936
}

Semantic roles & 50–950 ramp

primary
#8F52DA
secondary
#C7DFA9
accent
#E8409D
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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