#8951CD#8951CD

#8951CD is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.9% C 0.185 H 301.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8951CD
RGBrgb(137, 81, 205)
HSLhsl(267, 55%, 56%)
HSVhsv(267, 60%, 80%)
CMYKcmyk(33.2%, 60.5%, 0%, 19.6%)
CIE-LABlab(46.46, 48.01, -55.80)
CIE-LCHlch(46.46, 73.62, 310.71°)
OKLaboklab(55.9% 0.0968 -0.1582)
OKLCHoklch(55.9% 0.185 301.4)
XYZxyz(24.2758, 15.6109, 59.4800)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951CD #95CD51
analogous
#5157CD #8951CD #C751CD
triadic
#8951CD #CD8951 #51CD89
tetradic
#8951CD #CD5157 #95CD51 #51CDC7
square
#8951CD #CD5157 #95CD51 #51CDC7
split-complementary
#8951CD #CDC751 #57CD51
monochromatic
#4D257F #6A32AF #8951CD #A981DB #C9B0E8

Accessibility & contrast

On white

5.09
#8951CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8951CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951CD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951CD#FFFFFF#000000##FFFFFF
##8951CD1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#2A6DCA
Tritanopia (blue-blind)
#7B6B87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8951cd;
/* rgb */ color: rgb(137, 81, 205);
/* oklch */ color: oklch(55.9% 0.185 301.4);
Tailwind
colors: {
  custom: {
    50: '#b084dd',
    500: '#8951cd',
    950: '#000000',
  },
}
SCSS
$custom: #8951cd;
$custom-light: #b084dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8951cd",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 267.097,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55901,
    "c": 0.18547,
    "h": 301.4
  },
  "luminance": 0.15611
}

Semantic roles & 50–950 ramp

primary
#8951CD
secondary
#BFD7A3
accent
#DF499B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8951CD

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

Preview Lab → · Contrast checker → · Palette generator →

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