#8F54E6#8F54E6

#8F54E6 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.7% C 0.211 H 298.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8F54E6
RGBrgb(143, 84, 230)
HSLhsl(264, 74%, 62%)
HSVhsv(264, 63%, 90%)
CMYKcmyk(37.8%, 63.5%, 0%, 9.8%)
CIE-LABlab(49.37, 53.99, -65.32)
CIE-LCHlch(49.37, 84.75, 309.58°)
OKLaboklab(58.69% 0.0997 -0.186)
OKLCHoklch(58.69% 0.211 298.2)
XYZxyz(28.7773, 17.8931, 76.7851)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54E6 #ABE654
analogous
#5462E6 #8F54E6 #D854E6
triadic
#8F54E6 #E68F54 #54E68F
tetradic
#8F54E6 #E65462 #ABE654 #54E6D8
square
#8F54E6 #E65462 #ABE654 #54E6D8
split-complementary
#8F54E6 #E6D854 #62E654
monochromatic
#5218A7 #6C20DD #8F54E6 #B289EE #D5BFF6

Accessibility & contrast

On white

4.59
#8F54E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8F54E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F54E6
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54E6#FFFFFF#000000##FFFFFF
##8F54E61.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EB
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#7B7596
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f54e6;
/* rgb */ color: rgb(143, 84, 230);
/* oklch */ color: oklch(58.7% 0.211 298.2);
Tailwind
colors: {
  custom: {
    50: '#b587ef',
    500: '#8f54e6',
    950: '#000000',
  },
}
SCSS
$custom: #8f54e6;
$custom-light: #b587ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54e6",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 230
  },
  "hsl": {
    "h": 264.247,
    "s": 74.49,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58688,
    "c": 0.21105,
    "h": 298.2
  },
  "luminance": 0.17893
}

Semantic roles & 50–950 ramp

primary
#8F54E6
secondary
#D0E6B0
accent
#D70F86
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F54E6

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

Preview Lab → · Contrast checker → · Palette generator →

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