#8F54E8#8F54E8

#8F54E8 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.213 H 297.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8F54E8
RGBrgb(143, 84, 232)
HSLhsl(264, 76%, 62%)
HSVhsv(264, 64%, 91%)
CMYKcmyk(38.4%, 63.8%, 0%, 9%)
CIE-LABlab(49.50, 54.50, -66.23)
CIE-LCHlch(49.50, 85.77, 309.45°)
OKLaboklab(58.83% 0.0995 -0.1887)
OKLCHoklch(58.83% 0.213 297.8)
XYZxyz(29.0598, 18.0060, 78.2728)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54E8 #ADE854
analogous
#5463E8 #8F54E8 #D954E8
triadic
#8F54E8 #E88F54 #54E88F
tetradic
#8F54E8 #E85463 #ADE854 #54E8D9
square
#8F54E8 #E85463 #ADE854 #54E8D9
split-complementary
#8F54E8 #E8D954 #63E854
monochromatic
#5217AB #6C1EE1 #8F54E8 #B28AEF #D6C0F7

Accessibility & contrast

On white

4.56
#8F54E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8F54E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F54E8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54E8#FFFFFF#000000##000000
##8F54E81.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#7A7697
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f54e8;
/* rgb */ color: rgb(143, 84, 232);
/* oklch */ color: oklch(58.8% 0.213 297.8);
Tailwind
colors: {
  custom: {
    50: '#b687f0',
    500: '#8f54e8',
    950: '#000000',
  },
}
SCSS
$custom: #8f54e8;
$custom-light: #b687f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54e8",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 263.919,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5883,
    "c": 0.21332,
    "h": 297.8
  },
  "luminance": 0.18006
}

Semantic roles & 50–950 ramp

primary
#8F54E8
secondary
#D1E7B1
accent
#D80D87
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F54E8

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

Preview Lab → · Contrast checker → · Palette generator →

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