#8F52CD#8F52CD

#8F52CD is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.7% C 0.185 H 303.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F52CD
RGBrgb(143, 82, 205)
HSLhsl(270, 55%, 56%)
HSVhsv(270, 60%, 80%)
CMYKcmyk(30.2%, 60%, 0%, 19.6%)
CIE-LABlab(47.34, 48.87, -54.35)
CIE-LCHlch(47.34, 73.09, 311.96°)
OKLaboklab(56.7% 0.1034 -0.1538)
OKLCHoklch(56.7% 0.185 303.9)
XYZxyz(25.3620, 16.2821, 59.5524)
Luminance0.1628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52CD #90CD52
analogous
#5253CD #8F52CD #CD52CD
triadic
#8F52CD #CD8F52 #52CD8F
tetradic
#8F52CD #CD5253 #90CD52 #52CDCD
square
#8F52CD #CD5253 #90CD52 #52CDCD
split-complementary
#8F52CD #CDCD52 #53CD52
monochromatic
#522580 #7033AF #8F52CD #AE81DB #CCB1E8

Accessibility & contrast

On white

4.93
#8F52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8F52CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F52CD
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52CD#FFFFFF#000000##FFFFFF
##8F52CD1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116FD1
Deuteranopia (green-blind)
#3470CA
Tritanopia (blue-blind)
#846B88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f52cd;
/* rgb */ color: rgb(143, 82, 205);
/* oklch */ color: oklch(56.7% 0.185 303.9);
Tailwind
colors: {
  custom: {
    50: '#b485dd',
    500: '#8f52cd',
    950: '#000000',
  },
}
SCSS
$custom: #8f52cd;
$custom-light: #b485dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52cd",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 269.756,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56698,
    "c": 0.18531,
    "h": 303.9
  },
  "luminance": 0.16282
}

Semantic roles & 50–950 ramp

primary
#8F52CD
secondary
#BED7A4
accent
#DE4995
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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