#8D54D9#8D54D9

#8D54D9 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.196 H 300.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#8D54D9
RGBrgb(141, 84, 217)
HSLhsl(266, 64%, 59%)
HSVhsv(266, 61%, 85%)
CMYKcmyk(35%, 61.3%, 0%, 14.9%)
CIE-LABlab(48.28, 50.31, -59.72)
CIE-LCHlch(48.28, 78.09, 310.11°)
OKLaboklab(57.57% 0.098 -0.1696)
OKLCHoklch(57.57% 0.196 300)
XYZxyz(26.6762, 17.0129, 67.5106)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54D9 #A0D954
analogous
#545ED9 #8D54D9 #CF54D9
triadic
#8D54D9 #D98D54 #54D98D
tetradic
#8D54D9 #D9545E #A0D954 #54D9CF
square
#8D54D9 #D9545E #A0D954 #54D9CF
split-complementary
#8D54D9 #D9CF54 #5ED954
monochromatic
#512092 #6D2CC4 #8D54D9 #AE86E4 #D0B8EF

Accessibility & contrast

On white

4.77
#8D54D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8D54D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54D9
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54D9#FFFFFF#000000##FFFFFF
##8D54D91.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DD
Deuteranopia (green-blind)
#2272D6
Tritanopia (blue-blind)
#7D718F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d54d9;
/* rgb */ color: rgb(141, 84, 217);
/* oklch */ color: oklch(57.6% 0.196 300.0);
Tailwind
colors: {
  custom: {
    50: '#b387e5',
    500: '#8d54d9',
    950: '#000000',
  },
}
SCSS
$custom: #8d54d9;
$custom-light: #b387e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54d9",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 217
  },
  "hsl": {
    "h": 265.714,
    "s": 63.636,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57572,
    "c": 0.19588,
    "h": 300
  },
  "luminance": 0.17013
}

Semantic roles & 50–950 ramp

primary
#8D54D9
secondary
#C8DFAA
accent
#E741A0
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8D54D9

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

Preview Lab → · Contrast checker → · Palette generator →

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