#8954CB#8954CB

#8954CB is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.2% C 0.179 H 301.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8954CB
RGBrgb(137, 84, 203)
HSLhsl(267, 53%, 56%)
HSVhsv(267, 59%, 80%)
CMYKcmyk(32.5%, 58.6%, 0%, 20.4%)
CIE-LABlab(46.94, 45.91, -53.89)
CIE-LCHlch(46.94, 70.79, 310.43°)
OKLaboklab(56.21% 0.0932 -0.1526)
OKLCHoklch(56.21% 0.179 301.4)
XYZxyz(24.2638, 15.9707, 58.2927)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8954CB #96CB54
analogous
#545BCB #8954CB #C554CB
triadic
#8954CB #CB8954 #54CB89
tetradic
#8954CB #CB545B #96CB54 #54CBC5
square
#8954CB #CB545B #96CB54 #54CBC5
split-complementary
#8954CB #CBC554 #5BCB54
monochromatic
#4E267E #6A35AD #8954CB #A983D9 #CAB2E8

Accessibility & contrast

On white

5.01
#8954CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8954CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8954CB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8954CB#FFFFFF#000000##FFFFFF
##8954CB1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186FCF
Deuteranopia (green-blind)
#326FC8
Tritanopia (blue-blind)
#7C6C87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8954cb;
/* rgb */ color: rgb(137, 84, 203);
/* oklch */ color: oklch(56.2% 0.179 301.4);
Tailwind
colors: {
  custom: {
    50: '#af86db',
    500: '#8954cb',
    950: '#000000',
  },
}
SCSS
$custom: #8954cb;
$custom-light: #af86db;
$custom-dark: #000000;
JSON
{
  "hex": "#8954cb",
  "rgb": {
    "r": 137,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 266.723,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56208,
    "c": 0.1788,
    "h": 301.4
  },
  "luminance": 0.15971
}

Semantic roles & 50–950 ramp

primary
#8954CB
secondary
#C0D6A5
accent
#DD4B9C
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8954CB

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

Preview Lab → · Contrast checker → · Palette generator →

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