#8F52CE#8F52CE

#8F52CE is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.8% C 0.186 H 303.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8F52CE
RGBrgb(143, 82, 206)
HSLhsl(270, 56%, 56%)
HSVhsv(270, 60%, 81%)
CMYKcmyk(30.6%, 60.2%, 0%, 19.2%)
CIE-LABlab(47.41, 49.11, -54.82)
CIE-LCHlch(47.41, 73.60, 311.86°)
OKLaboklab(56.76% 0.1034 -0.1552)
OKLCHoklch(56.76% 0.186 303.7)
XYZxyz(25.4831, 16.3305, 60.1901)
Luminance0.1633 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F52CE #91CE52
analogous
#5253CE #8F52CE #CD52CE
triadic
#8F52CE #CE8F52 #52CE8F
tetradic
#8F52CE #CE5253 #91CE52 #52CECD
square
#8F52CE #CE5253 #91CE52 #52CECD
split-complementary
#8F52CE #CECD52 #53CE52
monochromatic
#522581 #7032B1 #8F52CE #AE82DC #CDB1E9

Accessibility & contrast

On white

4.92
#8F52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8F52CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F52CE
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F52CE#FFFFFF#000000##FFFFFF
##8F52CE1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6FD2
Deuteranopia (green-blind)
#3370CB
Tritanopia (blue-blind)
#836B88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f52ce;
/* rgb */ color: rgb(143, 82, 206);
/* oklch */ color: oklch(56.8% 0.186 303.7);
Tailwind
colors: {
  custom: {
    50: '#b485de',
    500: '#8f52ce',
    950: '#000000',
  },
}
SCSS
$custom: #8f52ce;
$custom-light: #b485de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f52ce",
  "rgb": {
    "r": 143,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 269.516,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.18645,
    "h": 303.7
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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