#8951BD#8951BD

#8951BD is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.9% C 0.167 H 305.5°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8951BD
RGBrgb(137, 81, 189)
HSLhsl(271, 45%, 53%)
HSVhsv(271, 57%, 74%)
CMYKcmyk(27.5%, 57.1%, 0%, 25.9%)
CIE-LABlab(45.47, 44.10, -48.14)
CIE-LCHlch(45.47, 65.29, 312.49°)
OKLaboklab(54.86% 0.0969 -0.1357)
OKLCHoklch(54.86% 0.167 305.5)
XYZxyz(22.4423, 14.8775, 49.8236)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951BD #85BD51
analogous
#5351BD #8951BD #BD51BB
triadic
#8951BD #BD8951 #51BD89
tetradic
#8951BD #BD5351 #85BD51 #51BBBD
square
#8951BD #BD5351 #85BD51 #51BBBD
split-complementary
#8951BD #BBBD51 #51BD53
monochromatic
#4B296B #6A3997 #8951BD #A77DCE #C5AADF

Accessibility & contrast

On white

5.28
#8951BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8951BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951BD
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951BD#FFFFFF#000000##FFFFFF
##8951BD1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#276AC1
Deuteranopia (green-blind)
#3D6CBA
Tritanopia (blue-blind)
#80667F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8951bd;
/* rgb */ color: rgb(137, 81, 189);
/* oklch */ color: oklch(54.9% 0.167 305.5);
Tailwind
colors: {
  custom: {
    50: '#af84d1',
    500: '#8951bd',
    950: '#000000',
  },
}
SCSS
$custom: #8951bd;
$custom-light: #af84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8951bd",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 189
  },
  "hsl": {
    "h": 271.111,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.54856,
    "c": 0.16678,
    "h": 305.5
  },
  "luminance": 0.14877
}

Semantic roles & 50–950 ramp

primary
#8951BD
secondary
#B4CC9E
accent
#D55392
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8951BD

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

Preview Lab → · Contrast checker → · Palette generator →

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