#8F54E7#8F54E7

#8F54E7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.212 H 298.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8F54E7
RGBrgb(143, 84, 231)
HSLhsl(264, 75%, 62%)
HSVhsv(264, 64%, 91%)
CMYKcmyk(38.1%, 63.6%, 0%, 9.4%)
CIE-LABlab(49.43, 54.24, -65.77)
CIE-LCHlch(49.43, 85.26, 309.51°)
OKLaboklab(58.76% 0.0996 -0.1873)
OKLCHoklch(58.76% 0.212 298)
XYZxyz(28.9182, 17.9494, 77.5268)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54E7 #ACE754
analogous
#5463E7 #8F54E7 #D954E7
triadic
#8F54E7 #E78F54 #54E78F
tetradic
#8F54E7 #E75463 #ACE754 #54E7D9
square
#8F54E7 #E75463 #ACE754 #54E7D9
split-complementary
#8F54E7 #E7D954 #63E754
monochromatic
#5218A9 #6C1FDF #8F54E7 #B28AEF #D5BFF6

Accessibility & contrast

On white

4.58
#8F54E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8F54E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F54E7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54E7#FFFFFF#000000##000000
##8F54E71.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#7A7596
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f54e7;
/* rgb */ color: rgb(143, 84, 231);
/* oklch */ color: oklch(58.8% 0.212 298.0);
Tailwind
colors: {
  custom: {
    50: '#b687ef',
    500: '#8f54e7',
    950: '#000000',
  },
}
SCSS
$custom: #8f54e7;
$custom-light: #b687ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54e7",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 264.082,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58759,
    "c": 0.21218,
    "h": 298
  },
  "luminance": 0.1795
}

Semantic roles & 50–950 ramp

primary
#8F54E7
secondary
#D1E7B0
accent
#D80E87
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F54E7

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

Preview Lab → · Contrast checker → · Palette generator →

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