#8954BA#8954BA

#8954BA is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.1% C 0.159 H 305.8°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8954BA
RGBrgb(137, 84, 186)
HSLhsl(271, 43%, 53%)
HSVhsv(271, 55%, 73%)
CMYKcmyk(26.3%, 54.8%, 0%, 27.1%)
CIE-LABlab(45.91, 41.74, -45.68)
CIE-LCHlch(45.91, 61.88, 312.42°)
OKLaboklab(55.13% 0.0928 -0.1286)
OKLCHoklch(55.13% 0.159 305.8)
XYZxyz(22.3479, 15.2044, 48.2023)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8954BA #85BA54
analogous
#5654BA #8954BA #BA54B8
triadic
#8954BA #BA8954 #54BA89
tetradic
#8954BA #BA5654 #85BA54 #54B8BA
square
#8954BA #BA5654 #85BA54 #54B8BA
split-complementary
#8954BA #B8BA54 #54BA56
monochromatic
#4B2A69 #6A3C95 #8954BA #A780CC #C5ABDD

Accessibility & contrast

On white

5.20
#8954BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8954BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8954BA
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8954BA#FFFFFF#000000##FFFFFF
##8954BA1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBD
Deuteranopia (green-blind)
#436DB8
Tritanopia (blue-blind)
#81677F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8954ba;
/* rgb */ color: rgb(137, 84, 186);
/* oklch */ color: oklch(55.1% 0.159 305.8);
Tailwind
colors: {
  custom: {
    50: '#ae86cf',
    500: '#8954ba',
    950: '#000000',
  },
}
SCSS
$custom: #8954ba;
$custom-light: #ae86cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8954ba",
  "rgb": {
    "r": 137,
    "g": 84,
    "b": 186
  },
  "hsl": {
    "h": 271.176,
    "s": 42.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55128,
    "c": 0.15858,
    "h": 305.8
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#8954BA
secondary
#B4CB9F
accent
#D25691
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8954BA

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

Preview Lab → · Contrast checker → · Palette generator →

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