#8F54DC#8F54DC

#8F54DC is a mid, vivid violet. Relative luminance 0.173; OKLCH L 58.0% C 0.200 H 300.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8F54DC
RGBrgb(143, 84, 220)
HSLhsl(266, 66%, 60%)
HSVhsv(266, 62%, 86%)
CMYKcmyk(35%, 61.8%, 0%, 13.7%)
CIE-LABlab(48.69, 51.49, -60.74)
CIE-LCHlch(48.69, 79.63, 310.29°)
OKLaboklab(57.99% 0.1004 -0.1726)
OKLCHoklch(57.99% 0.2 300.2)
XYZxyz(27.4131, 17.3474, 69.6004)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54DC #A1DC54
analogous
#545DDC #8F54DC #D354DC
triadic
#8F54DC #DC8F54 #54DC8F
tetradic
#8F54DC #DC545D #A1DC54 #54DCD3
square
#8F54DC #DC545D #A1DC54 #54DCD3
split-complementary
#8F54DC #DCD354 #5DDC54
monochromatic
#531F97 #6F29CA #8F54DC #B087E6 #D2BAF1

Accessibility & contrast

On white

4.70
#8F54DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8F54DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F54DC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54DC#FFFFFF#000000##FFFFFF
##8F54DC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#1F73D9
Tritanopia (blue-blind)
#7E7190
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f54dc;
/* rgb */ color: rgb(143, 84, 220);
/* oklch */ color: oklch(58.0% 0.200 300.2);
Tailwind
colors: {
  custom: {
    50: '#b587e8',
    500: '#8f54dc',
    950: '#000000',
  },
}
SCSS
$custom: #8f54dc;
$custom-light: #b587e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54dc",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 266.029,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57988,
    "c": 0.19966,
    "h": 300.2
  },
  "luminance": 0.17348
}

Semantic roles & 50–950 ramp

primary
#8F54DC
secondary
#C9E0AC
accent
#E93F9F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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