#8F52AF#8F52AF

#8F52AF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.9% C 0.151 H 312.7°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8F52AF
RGBrgb(143, 82, 175)
HSLhsl(279, 37%, 50%)
HSVhsv(279, 53%, 69%)
CMYKcmyk(18.3%, 53.1%, 0%, 31.4%)
CIE-LABlab(45.59, 41.89, -39.71)
CIE-LCHlch(45.59, 57.72, 316.53°)
OKLaboklab(54.85% 0.1025 -0.1109)
OKLCHoklch(54.85% 0.151 312.7)
XYZxyz(22.0815, 14.9699, 42.2754)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52AF #72AF52
analogous
#6052AF #8F52AF #AF52A0
triadic
#8F52AF #AF8F52 #52AF8F
tetradic
#8F52AF #AF6052 #72AF52 #52A0AF
square
#8F52AF #AF6052 #72AF52 #52A0AF
split-complementary
#8F52AF #A0AF52 #52AF60
monochromatic
#4B2B5C #6D3E86 #8F52AF #AA7CC2 #C5A6D6

Accessibility & contrast

On white

5.26
#8F52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8F52AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F52AF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52AF#FFFFFF#000000##FFFFFF
##8F52AF1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A69B2
Deuteranopia (green-blind)
#4E6DAD
Tritanopia (blue-blind)
#8C6179
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f52af;
/* rgb */ color: rgb(143, 82, 175);
/* oklch */ color: oklch(54.9% 0.151 312.7);
Tailwind
colors: {
  custom: {
    50: '#b285c7',
    500: '#8f52af',
    950: '#000000',
  },
}
SCSS
$custom: #8f52af;
$custom-light: #b285c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52af",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 279.355,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54851,
    "c": 0.15103,
    "h": 312.7
  },
  "luminance": 0.14969
}

Semantic roles & 50–950 ramp

primary
#8F52AF
secondary
#A8C39A
accent
#CD5B82
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8F52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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