#8951BF#8951BF

#8951BF is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.0% C 0.169 H 305.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#8951BF
RGBrgb(137, 81, 191)
HSLhsl(271, 46%, 53%)
HSVhsv(271, 58%, 75%)
CMYKcmyk(28.3%, 57.6%, 0%, 25.1%)
CIE-LABlab(45.59, 44.58, -49.11)
CIE-LCHlch(45.59, 66.33, 312.23°)
OKLaboklab(54.98% 0.0969 -0.1386)
OKLCHoklch(54.98% 0.169 305)
XYZxyz(22.6609, 14.9649, 50.9748)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951BF #87BF51
analogous
#5251BF #8951BF #BF51BE
triadic
#8951BF #BF8951 #51BF89
tetradic
#8951BF #BF5251 #87BF51 #51BEBF
square
#8951BF #BF5251 #87BF51 #51BEBF
split-complementary
#8951BF #BEBF51 #51BF52
monochromatic
#4B286D #6A399A #8951BF #A77ECF #C6AAE0

Accessibility & contrast

On white

5.26
#8951BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8951BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951BF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951BF#FFFFFF#000000##FFFFFF
##8951BF1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246AC3
Deuteranopia (green-blind)
#3B6CBC
Tritanopia (blue-blind)
#806680
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8951bf;
/* rgb */ color: rgb(137, 81, 191);
/* oklch */ color: oklch(55.0% 0.169 305.0);
Tailwind
colors: {
  custom: {
    50: '#af84d3',
    500: '#8951bf',
    950: '#000000',
  },
}
SCSS
$custom: #8951bf;
$custom-light: #af84d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8951bf",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 191
  },
  "hsl": {
    "h": 270.545,
    "s": 46.218,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54983,
    "c": 0.16913,
    "h": 305
  },
  "luminance": 0.14965
}

Semantic roles & 50–950 ramp

primary
#8951BF
secondary
#B5CE9E
accent
#D65293
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8951BF

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

Preview Lab → · Contrast checker → · Palette generator →

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