#8F52BC#8F52BC

#8F52BC is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.6% C 0.166 H 308.5°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8F52BC
RGBrgb(143, 82, 188)
HSLhsl(275, 44%, 53%)
HSVhsv(275, 56%, 74%)
CMYKcmyk(23.9%, 56.4%, 0%, 26.3%)
CIE-LABlab(46.32, 44.85, -46.16)
CIE-LCHlch(46.32, 64.36, 314.18°)
OKLaboklab(55.62% 0.1033 -0.1298)
OKLCHoklch(55.62% 0.166 308.5)
XYZxyz(23.4203, 15.5054, 49.3263)
Luminance0.1550 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52BC #7FBC52
analogous
#5A52BC #8F52BC #BC52B4
triadic
#8F52BC #BC8F52 #52BC8F
tetradic
#8F52BC #BC5A52 #7FBC52 #52B4BC
square
#8F52BC #BC5A52 #7FBC52 #52B4BC
split-complementary
#8F52BC #B4BC52 #52BC5A
monochromatic
#4F296A #6F3A97 #8F52BC #AC7ECD #C8AADE

Accessibility & contrast

On white

5.12
#8F52BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8F52BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F52BC
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52BC#FFFFFF#000000##FFFFFF
##8F52BC1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E6BBF
Deuteranopia (green-blind)
#456FB9
Tritanopia (blue-blind)
#89657F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f52bc;
/* rgb */ color: rgb(143, 82, 188);
/* oklch */ color: oklch(55.6% 0.166 308.5);
Tailwind
colors: {
  custom: {
    50: '#b385d1',
    500: '#8f52bc',
    950: '#000000',
  },
}
SCSS
$custom: #8f52bc;
$custom-light: #b385d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52bc",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 274.528,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5562,
    "c": 0.16585,
    "h": 308.5
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#8F52BC
secondary
#B1CC9E
accent
#D4548A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F52BC

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

Preview Lab → · Contrast checker → · Palette generator →

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