#8951CB#8951CB

#8951CB is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.183 H 301.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8951CB
RGBrgb(137, 81, 203)
HSLhsl(268, 54%, 56%)
HSVhsv(268, 60%, 80%)
CMYKcmyk(32.5%, 60.1%, 0%, 20.4%)
CIE-LABlab(46.33, 47.52, -54.86)
CIE-LCHlch(46.33, 72.58, 310.90°)
OKLaboklab(55.77% 0.0968 -0.1555)
OKLCHoklch(55.77% 0.183 301.9)
XYZxyz(24.0359, 15.5150, 58.2167)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951CB #93CB51
analogous
#5156CB #8951CB #C651CB
triadic
#8951CB #CB8951 #51CB89
tetradic
#8951CB #CB5156 #93CB51 #51CBC6
square
#8951CB #CB5156 #93CB51 #51CBC6
split-complementary
#8951CB #CBC651 #56CB51
monochromatic
#4D257C #6A33AC #8951CB #A980D9 #C9AFE7

Accessibility & contrast

On white

5.12
#8951CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8951CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951CB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951CB#FFFFFF#000000##FFFFFF
##8951CB1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#086DCF
Deuteranopia (green-blind)
#2D6DC8
Tritanopia (blue-blind)
#7C6A86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8951cb;
/* rgb */ color: rgb(137, 81, 203);
/* oklch */ color: oklch(55.8% 0.183 301.9);
Tailwind
colors: {
  custom: {
    50: '#af84db',
    500: '#8951cb',
    950: '#000000',
  },
}
SCSS
$custom: #8951cb;
$custom-light: #af84db;
$custom-dark: #000000;
JSON
{
  "hex": "#8951cb",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 267.541,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55767,
    "c": 0.18315,
    "h": 301.9
  },
  "luminance": 0.15515
}

Semantic roles & 50–950 ramp

primary
#8951CB
secondary
#BED5A3
accent
#DD4A9A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8951CB

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

Preview Lab → · Contrast checker → · Palette generator →

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