#8F52CF#8F52CF

#8F52CF is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.188 H 303.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8F52CF
RGBrgb(143, 82, 207)
HSLhsl(269, 57%, 57%)
HSVhsv(269, 60%, 81%)
CMYKcmyk(30.9%, 60.4%, 0%, 18.8%)
CIE-LABlab(47.47, 49.35, -55.29)
CIE-LCHlch(47.47, 74.12, 311.75°)
OKLaboklab(56.83% 0.1034 -0.1565)
OKLCHoklch(56.83% 0.188 303.4)
XYZxyz(25.6049, 16.3793, 60.8320)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52CF #92CF52
analogous
#5254CF #8F52CF #CE52CF
triadic
#8F52CF #CF8F52 #52CF8F
tetradic
#8F52CF #CF5254 #92CF52 #52CFCE
square
#8F52CF #CF5254 #92CF52 #52CFCE
split-complementary
#8F52CF #CFCE52 #54CF52
monochromatic
#522482 #7031B2 #8F52CF #AE82DC #CDB2EA

Accessibility & contrast

On white

4.91
#8F52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8F52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F52CF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52CF#FFFFFF#000000##FFFFFF
##8F52CF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096FD3
Deuteranopia (green-blind)
#3170CC
Tritanopia (blue-blind)
#836C89
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f52cf;
/* rgb */ color: rgb(143, 82, 207);
/* oklch */ color: oklch(56.8% 0.188 303.4);
Tailwind
colors: {
  custom: {
    50: '#b485de',
    500: '#8f52cf',
    950: '#000000',
  },
}
SCSS
$custom: #8f52cf;
$custom-light: #b485de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52cf",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 269.28,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56829,
    "c": 0.18759,
    "h": 303.4
  },
  "luminance": 0.16379
}

Semantic roles & 50–950 ramp

primary
#8F52CF
secondary
#BFD8A5
accent
#E04896
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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