#8F54EA#8F54EA

#8F54EA is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.0% C 0.216 H 297.4°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8F54EA
RGBrgb(143, 84, 234)
HSLhsl(264, 78%, 62%)
HSVhsv(264, 64%, 92%)
CMYKcmyk(38.9%, 64.1%, 0%, 8.2%)
CIE-LABlab(49.64, 55.00, -67.13)
CIE-LCHlch(49.64, 86.78, 309.33°)
OKLaboklab(58.97% 0.0993 -0.1913)
OKLCHoklch(58.97% 0.216 297.4)
XYZxyz(29.3455, 18.1203, 79.7774)
Luminance0.1812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54EA #AFEA54
analogous
#5464EA #8F54EA #DA54EA
triadic
#8F54EA #EA8F54 #54EA8F
tetradic
#8F54EA #EA5464 #AFEA54 #54EADA
square
#8F54EA #EA5464 #AFEA54 #54EADA
split-complementary
#8F54EA #EADA54 #64EA54
monochromatic
#5215AE #6B1DE3 #8F54EA #B38BF1 #D6C1F7

Accessibility & contrast

On white

4.54
#8F54EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8F54EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F54EA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54EA#FFFFFF#000000##000000
##8F54EA1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#797698
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f54ea;
/* rgb */ color: rgb(143, 84, 234);
/* oklch */ color: oklch(59.0% 0.216 297.4);
Tailwind
colors: {
  custom: {
    50: '#b687f2',
    500: '#8f54ea',
    950: '#000000',
  },
}
SCSS
$custom: #8f54ea;
$custom-light: #b687f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54ea",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 234
  },
  "hsl": {
    "h": 263.6,
    "s": 78.125,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58974,
    "c": 0.21558,
    "h": 297.4
  },
  "luminance": 0.18121
}

Semantic roles & 50–950 ramp

primary
#8F54EA
secondary
#D3E8B2
accent
#DA0B89
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F54EA

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

Preview Lab → · Contrast checker → · Palette generator →

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