#8D54DD#8D54DD

#8D54DD is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 57.8% C 0.201 H 299.2°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8D54DD
RGBrgb(141, 84, 221)
HSLhsl(265, 67%, 60%)
HSVhsv(265, 62%, 87%)
CMYKcmyk(36.2%, 62%, 0%, 13.3%)
CIE-LABlab(48.54, 51.31, -61.57)
CIE-LCHlch(48.54, 80.15, 309.81°)
OKLaboklab(57.85% 0.0977 -0.1751)
OKLCHoklch(57.85% 0.201 299.2)
XYZxyz(27.2027, 17.2235, 70.2839)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54DD #A4DD54
analogous
#545FDD #8D54DD #D254DD
triadic
#8D54DD #DD8D54 #54DD8D
tetradic
#8D54DD #DD545F #A4DD54 #54DDD2
square
#8D54DD #DD545F #A4DD54 #54DDD2
split-complementary
#8D54DD #DDD254 #5FDD54
monochromatic
#511E98 #6C28CB #8D54DD #AF87E7 #D1BAF1

Accessibility & contrast

On white

4.72
#8D54DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8D54DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54DD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54DD#FFFFFF#000000##FFFFFF
##8D54DD1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#1872DA
Tritanopia (blue-blind)
#7B7291
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d54dd;
/* rgb */ color: rgb(141, 84, 221);
/* oklch */ color: oklch(57.8% 0.201 299.2);
Tailwind
colors: {
  custom: {
    50: '#b387e8',
    500: '#8d54dd',
    950: '#000000',
  },
}
SCSS
$custom: #8d54dd;
$custom-light: #b387e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54dd",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 221
  },
  "hsl": {
    "h": 264.964,
    "s": 66.829,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57848,
    "c": 0.2005,
    "h": 299.2
  },
  "luminance": 0.17224
}

Semantic roles & 50–950 ramp

primary
#8D54DD
secondary
#CBE1AC
accent
#EA3EA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D54DD

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

Preview Lab → · Contrast checker → · Palette generator →

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