#8F54CE#8F54CE

#8F54CE is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.184 H 303.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8F54CE
RGBrgb(143, 84, 206)
HSLhsl(269, 55%, 57%)
HSVhsv(269, 59%, 81%)
CMYKcmyk(30.6%, 59.2%, 0%, 19.2%)
CIE-LABlab(47.80, 48.06, -54.19)
CIE-LCHlch(47.80, 72.43, 311.57°)
OKLaboklab(57.05% 0.101 -0.1533)
OKLCHoklch(57.05% 0.184 303.4)
XYZxyz(25.6361, 16.6366, 60.2412)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54CE #93CE54
analogous
#5456CE #8F54CE #CC54CE
triadic
#8F54CE #CE8F54 #54CE8F
tetradic
#8F54CE #CE5456 #93CE54 #54CECC
square
#8F54CE #CE5456 #93CE54 #54CECC
split-complementary
#8F54CE #CECC54 #56CE54
monochromatic
#522582 #7033B2 #8F54CE #AE84DC #CDB3E9

Accessibility & contrast

On white

4.85
#8F54CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8F54CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F54CE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54CE#FFFFFF#000000##FFFFFF
##8F54CE1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1770D2
Deuteranopia (green-blind)
#3671CB
Tritanopia (blue-blind)
#836D89
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f54ce;
/* rgb */ color: rgb(143, 84, 206);
/* oklch */ color: oklch(57.0% 0.184 303.4);
Tailwind
colors: {
  custom: {
    50: '#b487de',
    500: '#8f54ce',
    950: '#000000',
  },
}
SCSS
$custom: #8f54ce;
$custom-light: #b487de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54ce",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 269.016,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.5705,
    "c": 0.18356,
    "h": 303.4
  },
  "luminance": 0.16637
}

Semantic roles & 50–950 ramp

primary
#8F54CE
secondary
#C0D8A6
accent
#DF4996
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F54CE

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

Preview Lab → · Contrast checker → · Palette generator →

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