#8954C8#8954C8

#8954C8 is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.0% C 0.175 H 302.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8954C8
RGBrgb(137, 84, 200)
HSLhsl(267, 51%, 56%)
HSVhsv(267, 58%, 78%)
CMYKcmyk(31.5%, 58%, 0%, 21.6%)
CIE-LABlab(46.75, 45.16, -52.46)
CIE-LCHlch(46.75, 69.22, 310.72°)
OKLaboklab(56.01% 0.0932 -0.1484)
OKLCHoklch(56.01% 0.175 302.1)
XYZxyz(23.9098, 15.8291, 56.4281)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8954C8 #93C854
analogous
#5459C8 #8954C8 #C354C8
triadic
#8954C8 #C88954 #54C889
tetradic
#8954C8 #C85459 #93C854 #54C8C3
square
#8954C8 #C85459 #93C854 #54C8C3
split-complementary
#8954C8 #C8C354 #59C854
monochromatic
#4D277A #6A36A9 #8954C8 #A982D7 #C9B1E6

Accessibility & contrast

On white

5.04
#8954C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8954C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8954C8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8954C8#FFFFFF#000000##FFFFFF
##8954C81.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E6ECC
Deuteranopia (green-blind)
#366EC5
Tritanopia (blue-blind)
#7D6B86
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8954c8;
/* rgb */ color: rgb(137, 84, 200);
/* oklch */ color: oklch(56.0% 0.175 302.1);
Tailwind
colors: {
  custom: {
    50: '#af86d9',
    500: '#8954c8',
    950: '#000000',
  },
}
SCSS
$custom: #8954c8;
$custom-light: #af86d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8954c8",
  "rgb": {
    "r": 137,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 267.414,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56012,
    "c": 0.17525,
    "h": 302.1
  },
  "luminance": 0.15829
}

Semantic roles & 50–950 ramp

primary
#8954C8
secondary
#BED4A4
accent
#DB4D9A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8954C8

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

Preview Lab → · Contrast checker → · Palette generator →

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