#8954DC#8954DC

#8954DC is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.4% C 0.199 H 297.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8954DC
RGBrgb(137, 84, 220)
HSLhsl(263, 66%, 60%)
HSVhsv(263, 62%, 86%)
CMYKcmyk(37.7%, 61.8%, 0%, 13.7%)
CIE-LABlab(48.04, 50.20, -61.83)
CIE-LCHlch(48.04, 79.65, 309.07°)
OKLaboklab(57.36% 0.0925 -0.1759)
OKLCHoklch(57.36% 0.199 297.7)
XYZxyz(26.4018, 16.8259, 69.5530)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8954DC #A7DC54
analogous
#5463DC #8954DC #CD54DC
triadic
#8954DC #DC8954 #54DC89
tetradic
#8954DC #DC5463 #A7DC54 #54DCCD
square
#8954DC #DC5463 #A7DC54 #54DCCD
split-complementary
#8954DC #DCCD54 #63DC54
monochromatic
#4E1F97 #6829CA #8954DC #AC87E6 #CFBAF1

Accessibility & contrast

On white

4.81
#8954DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8954DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8954DC
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8954DC#FFFFFF#000000##FFFFFF
##8954DC1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#1071D9
Tritanopia (blue-blind)
#757290
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8954dc;
/* rgb */ color: rgb(137, 84, 220);
/* oklch */ color: oklch(57.4% 0.199 297.7);
Tailwind
colors: {
  custom: {
    50: '#b187e8',
    500: '#8954dc',
    950: '#000000',
  },
}
SCSS
$custom: #8954dc;
$custom-light: #b187e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8954dc",
  "rgb": {
    "r": 137,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 263.382,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57364,
    "c": 0.1988,
    "h": 297.7
  },
  "luminance": 0.16826
}

Semantic roles & 50–950 ramp

primary
#8954DC
secondary
#CCE0AC
accent
#E93FA7
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8954DC

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

Preview Lab → · Contrast checker → · Palette generator →

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