#8D54DB#8D54DB

#8D54DB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.7% C 0.198 H 299.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8D54DB
RGBrgb(141, 84, 219)
HSLhsl(265, 65%, 59%)
HSVhsv(265, 62%, 86%)
CMYKcmyk(35.6%, 61.6%, 0%, 14.1%)
CIE-LABlab(48.41, 50.81, -60.65)
CIE-LCHlch(48.41, 79.12, 309.96°)
OKLaboklab(57.71% 0.0979 -0.1723)
OKLCHoklch(57.71% 0.198 299.6)
XYZxyz(26.9379, 17.1176, 68.8889)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54DB #A2DB54
analogous
#545FDB #8D54DB #D054DB
triadic
#8D54DB #DB8D54 #54DB8D
tetradic
#8D54DB #DB545F #A2DB54 #54DBD0
square
#8D54DB #DB545F #A2DB54 #54DBD0
split-complementary
#8D54DB #DBD054 #5FDB54
monochromatic
#511F95 #6D2AC8 #8D54DB #AF87E6 #D0B9F0

Accessibility & contrast

On white

4.75
#8D54DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8D54DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54DB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54DB#FFFFFF#000000##FFFFFF
##8D54DB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#1E72D8
Tritanopia (blue-blind)
#7C7190
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d54db;
/* rgb */ color: rgb(141, 84, 219);
/* oklch */ color: oklch(57.7% 0.198 299.6);
Tailwind
colors: {
  custom: {
    50: '#b387e7',
    500: '#8d54db',
    950: '#000000',
  },
}
SCSS
$custom: #8d54db;
$custom-light: #b387e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54db",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 265.333,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57709,
    "c": 0.19819,
    "h": 299.6
  },
  "luminance": 0.17118
}

Semantic roles & 50–950 ramp

primary
#8D54DB
secondary
#C9E0AB
accent
#E840A1
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8D54DB

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

Preview Lab → · Contrast checker → · Palette generator →

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