#8D54DC#8D54DC

#8D54DC is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.8% C 0.199 H 299.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8D54DC
RGBrgb(141, 84, 220)
HSLhsl(265, 66%, 60%)
HSVhsv(265, 62%, 86%)
CMYKcmyk(35.9%, 61.8%, 0%, 13.7%)
CIE-LABlab(48.47, 51.06, -61.11)
CIE-LCHlch(48.47, 79.63, 309.88°)
OKLaboklab(57.78% 0.0978 -0.1737)
OKLCHoklch(57.78% 0.199 299.4)
XYZxyz(27.0699, 17.1704, 69.5843)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54DC #A3DC54
analogous
#545FDC #8D54DC #D154DC
triadic
#8D54DC #DC8D54 #54DC8D
tetradic
#8D54DC #DC545F #A3DC54 #54DCD1
square
#8D54DC #DC545F #A3DC54 #54DCD1
split-complementary
#8D54DC #DCD154 #5FDC54
monochromatic
#511F97 #6C29CA #8D54DC #AF87E6 #D1BAF1

Accessibility & contrast

On white

4.74
#8D54DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8D54DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54DC
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54DC#FFFFFF#000000##FFFFFF
##8D54DC1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#1B72D9
Tritanopia (blue-blind)
#7B7290
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d54dc;
/* rgb */ color: rgb(141, 84, 220);
/* oklch */ color: oklch(57.8% 0.199 299.4);
Tailwind
colors: {
  custom: {
    50: '#b387e8',
    500: '#8d54dc',
    950: '#000000',
  },
}
SCSS
$custom: #8d54dc;
$custom-light: #b387e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54dc",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 265.147,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57778,
    "c": 0.19934,
    "h": 299.4
  },
  "luminance": 0.17171
}

Semantic roles & 50–950 ramp

primary
#8D54DC
secondary
#CAE0AC
accent
#E93FA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8D54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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