#8951BA#8951BA

#8951BA is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.7% C 0.163 H 306.4°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8951BA
RGBrgb(137, 81, 186)
HSLhsl(272, 43%, 52%)
HSVhsv(272, 56%, 73%)
CMYKcmyk(26.3%, 56.5%, 0%, 27.1%)
CIE-LABlab(45.29, 43.38, -46.68)
CIE-LCHlch(45.29, 63.72, 312.90°)
OKLaboklab(54.67% 0.0968 -0.1315)
OKLCHoklch(54.67% 0.163 306.4)
XYZxyz(22.1200, 14.7486, 48.1263)
Luminance0.1475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8951BA #82BA51
analogous
#5551BA #8951BA #BA51B7
triadic
#8951BA #BA8951 #51BA89
tetradic
#8951BA #BA5551 #82BA51 #51B7BA
square
#8951BA #BA5551 #82BA51 #51B7BA
split-complementary
#8951BA #B7BA51 #51BA55
monochromatic
#4A2968 #6A3A93 #8951BA #A77DCB #C4A9DD

Accessibility & contrast

On white

5.32
#8951BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8951BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8951BA
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8951BA#FFFFFF#000000##FFFFFF
##8951BA1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B69BD
Deuteranopia (green-blind)
#406CB7
Tritanopia (blue-blind)
#81657E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8951ba;
/* rgb */ color: rgb(137, 81, 186);
/* oklch */ color: oklch(54.7% 0.163 306.4);
Tailwind
colors: {
  custom: {
    50: '#ae84cf',
    500: '#8951ba',
    950: '#000000',
  },
}
SCSS
$custom: #8951ba;
$custom-light: #ae84cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8951ba",
  "rgb": {
    "r": 137,
    "g": 81,
    "b": 186
  },
  "hsl": {
    "h": 272,
    "s": 43.21,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54668,
    "c": 0.16326,
    "h": 306.4
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#8951BA
secondary
#B2CA9D
accent
#D35590
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8951BA

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

Preview Lab → · Contrast checker → · Palette generator →

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