#8951BB#8951BB

#8951BB is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.7% C 0.164 H 306.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8951BB
RGBrgb(137, 81, 187)
HSLhsl(272, 44%, 53%)
HSVhsv(272, 57%, 73%)
CMYKcmyk(26.7%, 56.7%, 0%, 26.7%)
CIE-LABlab(45.35, 43.62, -47.17)
CIE-LCHlch(45.35, 64.25, 312.76°)
OKLaboklab(54.73% 0.0968 -0.1329)
OKLCHoklch(54.73% 0.164 306.1)
XYZxyz(22.2267, 14.7913, 48.6881)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951BB #83BB51
analogous
#5451BB #8951BB #BB51B8
triadic
#8951BB #BB8951 #51BB89
tetradic
#8951BB #BB5451 #83BB51 #51B8BB
square
#8951BB #BB5451 #83BB51 #51B8BB
split-complementary
#8951BB #B8BB51 #51BB54
monochromatic
#4B2969 #6A3A95 #8951BB #A77DCC #C5A9DD

Accessibility & contrast

On white

5.31
#8951BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8951BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951BB
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951BB#FFFFFF#000000##FFFFFF
##8951BB1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A69BE
Deuteranopia (green-blind)
#3F6CB8
Tritanopia (blue-blind)
#81657E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8951bb;
/* rgb */ color: rgb(137, 81, 187);
/* oklch */ color: oklch(54.7% 0.164 306.1);
Tailwind
colors: {
  custom: {
    50: '#ae84d0',
    500: '#8951bb',
    950: '#000000',
  },
}
SCSS
$custom: #8951bb;
$custom-light: #ae84d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8951bb",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 187
  },
  "hsl": {
    "h": 271.698,
    "s": 43.802,
    "l": 52.549
  },
  "oklch": {
    "l": 0.54731,
    "c": 0.16444,
    "h": 306.1
  },
  "luminance": 0.14791
}

Semantic roles & 50–950 ramp

primary
#8951BB
secondary
#B3CB9D
accent
#D45490
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8951BB

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

Preview Lab → · Contrast checker → · Palette generator →

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