#8D54C8#8D54C8

#8D54C8 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.4% C 0.176 H 304.0°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8D54C8
RGBrgb(141, 84, 200)
HSLhsl(269, 51%, 56%)
HSVhsv(269, 58%, 78%)
CMYKcmyk(29.5%, 58%, 0%, 21.6%)
CIE-LABlab(47.20, 46.13, -51.71)
CIE-LCHlch(47.20, 69.29, 311.73°)
OKLaboklab(56.44% 0.0984 -0.1461)
OKLCHoklch(56.44% 0.176 304)
XYZxyz(24.5778, 16.1736, 56.4594)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54C8 #8FC854
analogous
#5455C8 #8D54C8 #C754C8
triadic
#8D54C8 #C88D54 #54C88D
tetradic
#8D54C8 #C85455 #8FC854 #54C8C7
square
#8D54C8 #C85455 #8FC854 #54C8C7
split-complementary
#8D54C8 #C8C754 #55C854
monochromatic
#50277A #6E36A9 #8D54C8 #AC82D7 #CBB1E6

Accessibility & contrast

On white

4.96
#8D54C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8D54C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54C8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54C8#FFFFFF#000000##FFFFFF
##8D54C81.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216FCC
Deuteranopia (green-blind)
#3A70C5
Tritanopia (blue-blind)
#826B86
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d54c8;
/* rgb */ color: rgb(141, 84, 200);
/* oklch */ color: oklch(56.4% 0.176 304.0);
Tailwind
colors: {
  custom: {
    50: '#b286d9',
    500: '#8d54c8',
    950: '#000000',
  },
}
SCSS
$custom: #8d54c8;
$custom-light: #b286d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54c8",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 269.483,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56444,
    "c": 0.17614,
    "h": 304
  },
  "luminance": 0.16173
}

Semantic roles & 50–950 ramp

primary
#8D54C8
secondary
#BCD4A4
accent
#DB4D95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D54C8

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

Preview Lab → · Contrast checker → · Palette generator →

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