#8951CC#8951CC

#8951CC is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.8% C 0.184 H 301.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8951CC
RGBrgb(137, 81, 204)
HSLhsl(267, 55%, 56%)
HSVhsv(267, 60%, 80%)
CMYKcmyk(32.8%, 60.3%, 0%, 20%)
CIE-LABlab(46.40, 47.76, -55.33)
CIE-LCHlch(46.40, 73.10, 310.80°)
OKLaboklab(55.83% 0.0968 -0.1568)
OKLCHoklch(55.83% 0.184 301.7)
XYZxyz(24.1555, 15.5628, 58.8464)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951CC #94CC51
analogous
#5156CC #8951CC #C651CC
triadic
#8951CC #CC8951 #51CC89
tetradic
#8951CC #CC5156 #94CC51 #51CCC6
square
#8951CC #CC5156 #94CC51 #51CCC6
split-complementary
#8951CC #CCC651 #56CC51
monochromatic
#4D257E #6A33AD #8951CC #A980DA #C9B0E8

Accessibility & contrast

On white

5.11
#8951CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8951CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951CC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951CC#FFFFFF#000000##FFFFFF
##8951CC1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036DD0
Deuteranopia (green-blind)
#2C6DC9
Tritanopia (blue-blind)
#7C6B87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8951cc;
/* rgb */ color: rgb(137, 81, 204);
/* oklch */ color: oklch(55.8% 0.184 301.7);
Tailwind
colors: {
  custom: {
    50: '#b084dc',
    500: '#8951cc',
    950: '#000000',
  },
}
SCSS
$custom: #8951cc;
$custom-light: #b084dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8951cc",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 267.317,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55834,
    "c": 0.18432,
    "h": 301.7
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#8951CC
secondary
#BFD6A3
accent
#DE4A9B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8951CC

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

Preview Lab → · Contrast checker → · Palette generator →

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