#8951BC#8951BC

#8951BC is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.166 H 305.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8951BC
RGBrgb(137, 81, 188)
HSLhsl(271, 44%, 53%)
HSVhsv(271, 57%, 74%)
CMYKcmyk(27.1%, 56.9%, 0%, 26.3%)
CIE-LABlab(45.41, 43.86, -47.66)
CIE-LCHlch(45.41, 64.77, 312.62°)
OKLaboklab(54.79% 0.0969 -0.1343)
OKLCHoklch(54.79% 0.166 305.8)
XYZxyz(22.3341, 14.8342, 49.2539)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951BC #84BC51
analogous
#5451BC #8951BC #BC51B9
triadic
#8951BC #BC8951 #51BC89
tetradic
#8951BC #BC5451 #84BC51 #51B9BC
square
#8951BC #BC5451 #84BC51 #51B9BC
split-complementary
#8951BC #B9BC51 #51BC54
monochromatic
#4B296A #6A3A96 #8951BC #A77DCD #C5A9DE

Accessibility & contrast

On white

5.29
#8951BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8951BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951BC
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951BC#FFFFFF#000000##FFFFFF
##8951BC1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286AC0
Deuteranopia (green-blind)
#3E6CB9
Tritanopia (blue-blind)
#81657F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8951bc;
/* rgb */ color: rgb(137, 81, 188);
/* oklch */ color: oklch(54.8% 0.166 305.8);
Tailwind
colors: {
  custom: {
    50: '#ae84d1',
    500: '#8951bc',
    950: '#000000',
  },
}
SCSS
$custom: #8951bc;
$custom-light: #ae84d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8951bc",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 188
  },
  "hsl": {
    "h": 271.402,
    "s": 44.398,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54793,
    "c": 0.1656,
    "h": 305.8
  },
  "luminance": 0.14834
}

Semantic roles & 50–950 ramp

primary
#8951BC
secondary
#B3CC9D
accent
#D45491
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8951BC

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

Preview Lab → · Contrast checker → · Palette generator →

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