#8954CF#8954CF

#8954CF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.5% C 0.184 H 300.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8954CF
RGBrgb(137, 84, 207)
HSLhsl(266, 56%, 57%)
HSVhsv(266, 59%, 81%)
CMYKcmyk(33.8%, 59.4%, 0%, 18.8%)
CIE-LABlab(47.19, 46.91, -55.78)
CIE-LCHlch(47.19, 72.88, 310.06°)
OKLaboklab(56.47% 0.0931 -0.1582)
OKLCHoklch(56.47% 0.184 300.5)
XYZxyz(24.7466, 16.1638, 60.8356)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8954CF #9ACF54
analogous
#545DCF #8954CF #C754CF
triadic
#8954CF #CF8954 #54CF89
tetradic
#8954CF #CF545D #9ACF54 #54CFC7
square
#8954CF #CF545D #9ACF54 #54CFC7
split-complementary
#8954CF #CFC754 #5DCF54
monochromatic
#4E2584 #6A32B3 #8954CF #AA84DC #CBB4EA

Accessibility & contrast

On white

4.96
#8954CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8954CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8954CF
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8954CF#FFFFFF#000000##FFFFFF
##8954CF1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6FD3
Deuteranopia (green-blind)
#2D6FCC
Tritanopia (blue-blind)
#7A6E89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8954cf;
/* rgb */ color: rgb(137, 84, 207);
/* oklch */ color: oklch(56.5% 0.184 300.5);
Tailwind
colors: {
  custom: {
    50: '#b086de',
    500: '#8954cf',
    950: '#000000',
  },
}
SCSS
$custom: #8954cf;
$custom-light: #b086de;
$custom-dark: #000000;
JSON
{
  "hex": "#8954cf",
  "rgb": {
    "r": 137,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 265.854,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56474,
    "c": 0.18354,
    "h": 300.5
  },
  "luminance": 0.16164
}

Semantic roles & 50–950 ramp

primary
#8954CF
secondary
#C3D8A6
accent
#DF489E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8954CF

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

Preview Lab → · Contrast checker → · Palette generator →

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