#8F54DD#8F54DD

#8F54DD is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.1% C 0.201 H 300.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8F54DD
RGBrgb(143, 84, 221)
HSLhsl(266, 67%, 60%)
HSVhsv(266, 62%, 87%)
CMYKcmyk(35.3%, 62%, 0%, 13.3%)
CIE-LABlab(48.76, 51.74, -61.20)
CIE-LCHlch(48.76, 80.15, 310.21°)
OKLaboklab(58.06% 0.1004 -0.1739)
OKLCHoklch(58.06% 0.201 300)
XYZxyz(27.5460, 17.4005, 70.3000)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54DD #A2DD54
analogous
#545EDD #8F54DD #D354DD
triadic
#8F54DD #DD8F54 #54DD8F
tetradic
#8F54DD #DD545E #A2DD54 #54DDD3
square
#8F54DD #DD545E #A2DD54 #54DDD3
split-complementary
#8F54DD #DDD354 #5EDD54
monochromatic
#531E98 #6F28CB #8F54DD #B087E7 #D2BAF1

Accessibility & contrast

On white

4.69
#8F54DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8F54DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F54DD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54DD#FFFFFF#000000##FFFFFF
##8F54DD1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#1D73DA
Tritanopia (blue-blind)
#7E7291
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f54dd;
/* rgb */ color: rgb(143, 84, 221);
/* oklch */ color: oklch(58.1% 0.201 300.0);
Tailwind
colors: {
  custom: {
    50: '#b587e8',
    500: '#8f54dd',
    950: '#000000',
  },
}
SCSS
$custom: #8f54dd;
$custom-light: #b587e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54dd",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 265.839,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58057,
    "c": 0.2008,
    "h": 300
  },
  "luminance": 0.17401
}

Semantic roles & 50–950 ramp

primary
#8F54DD
secondary
#CAE1AC
accent
#EA3EA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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