#8954CD#8954CD

#8954CD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.3% C 0.181 H 300.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8954CD
RGBrgb(137, 84, 205)
HSLhsl(266, 55%, 57%)
HSVhsv(266, 59%, 80%)
CMYKcmyk(33.2%, 59%, 0%, 19.6%)
CIE-LABlab(47.06, 46.41, -54.84)
CIE-LCHlch(47.06, 71.84, 310.24°)
OKLaboklab(56.34% 0.0932 -0.1554)
OKLCHoklch(56.34% 0.181 300.9)
XYZxyz(24.5037, 16.0667, 59.5560)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8954CD #98CD54
analogous
#545CCD #8954CD #C654CD
triadic
#8954CD #CD8954 #54CD89
tetradic
#8954CD #CD545C #98CD54 #54CDC6
square
#8954CD #CD545C #98CD54 #54CDC6
split-complementary
#8954CD #CDC654 #5CCD54
monochromatic
#4E2681 #6A34B0 #8954CD #AA83DB #CAB3E9

Accessibility & contrast

On white

4.98
#8954CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8954CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8954CD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8954CD#FFFFFF#000000##FFFFFF
##8954CD1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#136FD1
Deuteranopia (green-blind)
#306FCA
Tritanopia (blue-blind)
#7B6D88
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8954cd;
/* rgb */ color: rgb(137, 84, 205);
/* oklch */ color: oklch(56.3% 0.181 300.9);
Tailwind
colors: {
  custom: {
    50: '#af86dd',
    500: '#8954cd',
    950: '#000000',
  },
}
SCSS
$custom: #8954cd;
$custom-light: #af86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8954cd",
  "rgb": {
    "r": 137,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 266.281,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5634,
    "c": 0.18117,
    "h": 300.9
  },
  "luminance": 0.16067
}

Semantic roles & 50–950 ramp

primary
#8954CD
secondary
#C1D7A6
accent
#DE4A9D
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8954CD

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

Preview Lab → · Contrast checker → · Palette generator →

#8954CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva