#8954CC#8954CC

#8954CC is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.3% C 0.180 H 301.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8954CC
RGBrgb(137, 84, 204)
HSLhsl(267, 54%, 56%)
HSVhsv(267, 59%, 80%)
CMYKcmyk(32.8%, 58.8%, 0%, 20%)
CIE-LABlab(47.00, 46.16, -54.36)
CIE-LCHlch(47.00, 71.31, 310.33°)
OKLaboklab(56.27% 0.0932 -0.154)
OKLCHoklch(56.27% 0.18 301.2)
XYZxyz(24.3834, 16.0185, 58.9223)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8954CC #97CC54
analogous
#545BCC #8954CC #C554CC
triadic
#8954CC #CC8954 #54CC89
tetradic
#8954CC #CC545B #97CC54 #54CCC5
square
#8954CC #CC545B #97CC54 #54CCC5
split-complementary
#8954CC #CCC554 #5BCC54
monochromatic
#4E2680 #6A34AF #8954CC #AA83DA #CAB2E8

Accessibility & contrast

On white

5.00
#8954CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8954CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8954CC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8954CC#FFFFFF#000000##FFFFFF
##8954CC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#156FD0
Deuteranopia (green-blind)
#316FC9
Tritanopia (blue-blind)
#7B6D88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8954cc;
/* rgb */ color: rgb(137, 84, 204);
/* oklch */ color: oklch(56.3% 0.180 301.2);
Tailwind
colors: {
  custom: {
    50: '#af86dc',
    500: '#8954cc',
    950: '#000000',
  },
}
SCSS
$custom: #8954cc;
$custom-light: #af86dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8954cc",
  "rgb": {
    "r": 137,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 266.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56274,
    "c": 0.17999,
    "h": 301.2
  },
  "luminance": 0.16019
}

Semantic roles & 50–950 ramp

primary
#8954CC
secondary
#C1D7A5
accent
#DD4A9C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8954CC

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

Preview Lab → · Contrast checker → · Palette generator →

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