#8F54DA#8F54DA

#8F54DA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.9% C 0.197 H 300.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8F54DA
RGBrgb(143, 84, 218)
HSLhsl(266, 64%, 59%)
HSVhsv(266, 61%, 85%)
CMYKcmyk(34.4%, 61.5%, 0%, 14.5%)
CIE-LABlab(48.56, 51.00, -59.82)
CIE-LCHlch(48.56, 78.61, 310.45°)
OKLaboklab(57.85% 0.1006 -0.1698)
OKLCHoklch(57.85% 0.197 300.6)
XYZxyz(27.1499, 17.2421, 68.2138)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54DA #9FDA54
analogous
#545CDA #8F54DA #D254DA
triadic
#8F54DA #DA8F54 #54DA8F
tetradic
#8F54DA #DA545C #9FDA54 #54DAD2
square
#8F54DA #DA545C #9FDA54 #54DAD2
split-complementary
#8F54DA #DAD254 #5CDA54
monochromatic
#532094 #6F2BC6 #8F54DA #B086E5 #D1B9F0

Accessibility & contrast

On white

4.72
#8F54DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8F54DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F54DA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54DA#FFFFFF#000000##FFFFFF
##8F54DA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DE
Deuteranopia (green-blind)
#2472D7
Tritanopia (blue-blind)
#7F718F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f54da;
/* rgb */ color: rgb(143, 84, 218);
/* oklch */ color: oklch(57.9% 0.197 300.6);
Tailwind
colors: {
  custom: {
    50: '#b487e6',
    500: '#8f54da',
    950: '#000000',
  },
}
SCSS
$custom: #8f54da;
$custom-light: #b487e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54da",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 266.418,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57851,
    "c": 0.19737,
    "h": 300.6
  },
  "luminance": 0.17242
}

Semantic roles & 50–950 ramp

primary
#8F54DA
secondary
#C8DFAB
accent
#E7409E
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F54DA

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

Preview Lab → · Contrast checker → · Palette generator →

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