#8D54DE#8D54DE

#8D54DE is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 57.9% C 0.202 H 299.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8D54DE
RGBrgb(141, 84, 222)
HSLhsl(265, 68%, 60%)
HSVhsv(265, 62%, 87%)
CMYKcmyk(36.5%, 62.2%, 0%, 12.9%)
CIE-LABlab(48.61, 51.56, -62.03)
CIE-LCHlch(48.61, 80.66, 309.74°)
OKLaboklab(57.92% 0.0977 -0.1764)
OKLCHoklch(57.92% 0.202 299)
XYZxyz(27.3364, 17.2770, 70.9877)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54DE #A5DE54
analogous
#5460DE #8D54DE #D254DE
triadic
#8D54DE #DE8D54 #54DE8D
tetradic
#8D54DE #DE5460 #A5DE54 #54DED2
square
#8D54DE #DE5460 #A5DE54 #54DED2
split-complementary
#8D54DE #DED254 #60DE54
monochromatic
#511E9A #6C28CD #8D54DE #AF87E8 #D1BBF2

Accessibility & contrast

On white

4.71
#8D54DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8D54DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54DE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54DE#FFFFFF#000000##FFFFFF
##8D54DE1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#1572DB
Tritanopia (blue-blind)
#7B7291
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d54de;
/* rgb */ color: rgb(141, 84, 222);
/* oklch */ color: oklch(57.9% 0.202 299.0);
Tailwind
colors: {
  custom: {
    50: '#b387e9',
    500: '#8d54de',
    950: '#000000',
  },
}
SCSS
$custom: #8d54de;
$custom-light: #b387e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54de",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 222
  },
  "hsl": {
    "h": 264.783,
    "s": 67.647,
    "l": 60
  },
  "oklch": {
    "l": 0.57917,
    "c": 0.20165,
    "h": 299
  },
  "luminance": 0.17277
}

Semantic roles & 50–950 ramp

primary
#8D54DE
secondary
#CCE1AC
accent
#EB3DA3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D54DE

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

Preview Lab → · Contrast checker → · Palette generator →

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