#8F52BB#8F52BB

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

Color values

HEX#8F52BB
RGBrgb(143, 82, 187)
HSLhsl(275, 44%, 53%)
HSVhsv(275, 56%, 73%)
CMYKcmyk(23.5%, 56.1%, 0%, 26.7%)
CIE-LABlab(46.26, 44.62, -45.67)
CIE-LCHlch(46.26, 63.85, 314.33°)
OKLaboklab(55.56% 0.1033 -0.1283)
OKLCHoklch(55.56% 0.165 308.8)
XYZxyz(23.3129, 15.4624, 48.7605)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52BB #7EBB52
analogous
#5A52BB #8F52BB #BB52B2
triadic
#8F52BB #BB8F52 #52BB8F
tetradic
#8F52BB #BB5A52 #7EBB52 #52B2BB
square
#8F52BB #BB5A52 #7EBB52 #52B2BB
split-complementary
#8F52BB #B2BB52 #52BB5A
monochromatic
#4E2969 #6F3B95 #8F52BB #AB7ECC #C8AADE

Accessibility & contrast

On white

5.13
#8F52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8F52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F52BB
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52BB#FFFFFF#000000##FFFFFF
##8F52BB1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f52bb;
/* rgb */ color: rgb(143, 82, 187);
/* oklch */ color: oklch(55.6% 0.165 308.8);
Tailwind
colors: {
  custom: {
    50: '#b285d0',
    500: '#8f52bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f52bb;
$custom-light: #b285d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52bb",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 274.857,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55559,
    "c": 0.16471,
    "h": 308.8
  },
  "luminance": 0.15462
}

Semantic roles & 50–950 ramp

primary
#8F52BB
secondary
#B1CB9E
accent
#D3548A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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