#8D54D2#8D54D2

#8D54D2 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.188 H 301.6°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8D54D2
RGBrgb(141, 84, 210)
HSLhsl(267, 58%, 58%)
HSVhsv(267, 60%, 82%)
CMYKcmyk(32.9%, 60%, 0%, 17.6%)
CIE-LABlab(47.82, 48.57, -56.45)
CIE-LCHlch(47.82, 74.47, 310.71°)
OKLaboklab(57.1% 0.0983 -0.16)
OKLCHoklch(57.1% 0.188 301.6)
XYZxyz(25.7849, 16.6564, 62.8168)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54D2 #99D254
analogous
#545AD2 #8D54D2 #CC54D2
triadic
#8D54D2 #D28D54 #54D28D
tetradic
#8D54D2 #D2545A #99D254 #54D2CC
square
#8D54D2 #D2545A #99D254 #54D2CC
split-complementary
#8D54D2 #D2CC54 #5AD254
monochromatic
#512488 #6E31B8 #8D54D2 #AD84DF #CEB5EB

Accessibility & contrast

On white

4.85
#8D54D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8D54D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54D2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54D2#FFFFFF#000000##FFFFFF
##8D54D21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0671D6
Deuteranopia (green-blind)
#2E71CF
Tritanopia (blue-blind)
#7F6E8B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d54d2;
/* rgb */ color: rgb(141, 84, 210);
/* oklch */ color: oklch(57.1% 0.188 301.6);
Tailwind
colors: {
  custom: {
    50: '#b387e0',
    500: '#8d54d2',
    950: '#000000',
  },
}
SCSS
$custom: #8d54d2;
$custom-light: #b387e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54d2",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 210
  },
  "hsl": {
    "h": 267.143,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57099,
    "c": 0.18778,
    "h": 301.6
  },
  "luminance": 0.16657
}

Semantic roles & 50–950 ramp

primary
#8D54D2
secondary
#C3DAA8
accent
#E2469B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D54D2

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

Preview Lab → · Contrast checker → · Palette generator →

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