#8D54CD#8D54CD

#8D54CD is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.182 H 302.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8D54CD
RGBrgb(141, 84, 205)
HSLhsl(268, 55%, 57%)
HSVhsv(268, 59%, 80%)
CMYKcmyk(31.2%, 59%, 0%, 19.6%)
CIE-LABlab(47.51, 47.34, -54.09)
CIE-LCHlch(47.51, 71.89, 311.19°)
OKLaboklab(56.77% 0.0984 -0.1531)
OKLCHoklch(56.77% 0.182 302.7)
XYZxyz(25.1717, 16.4111, 59.5873)
Luminance0.1641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D54CD #94CD54
analogous
#5458CD #8D54CD #C954CD
triadic
#8D54CD #CD8D54 #54CD8D
tetradic
#8D54CD #CD5458 #94CD54 #54CDC9
square
#8D54CD #CD5458 #94CD54 #54CDC9
split-complementary
#8D54CD #CDC954 #58CD54
monochromatic
#512681 #6E34B0 #8D54CD #AD83DB #CCB3E9

Accessibility & contrast

On white

4.90
#8D54CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8D54CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D54CD
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D54CD#FFFFFF#000000##FFFFFF
##8D54CD1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1770D1
Deuteranopia (green-blind)
#3470CA
Tritanopia (blue-blind)
#816D88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d54cd;
/* rgb */ color: rgb(141, 84, 205);
/* oklch */ color: oklch(56.8% 0.182 302.7);
Tailwind
colors: {
  custom: {
    50: '#b287dd',
    500: '#8d54cd',
    950: '#000000',
  },
}
SCSS
$custom: #8d54cd;
$custom-light: #b287dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d54cd",
  "rgb": {
    "r": 141,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 268.264,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56768,
    "c": 0.18197,
    "h": 302.7
  },
  "luminance": 0.16411
}

Semantic roles & 50–950 ramp

primary
#8D54CD
secondary
#C0D7A6
accent
#DE4A98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D54CD

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

Preview Lab → · Contrast checker → · Palette generator →

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