#9154CB#9154CB

#9154CB is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.1% C 0.181 H 305.0°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9154CB
RGBrgb(145, 84, 203)
HSLhsl(271, 53%, 56%)
HSVhsv(271, 59%, 80%)
CMYKcmyk(28.6%, 58.6%, 0%, 20.4%)
CIE-LABlab(47.84, 47.81, -52.38)
CIE-LCHlch(47.84, 70.92, 312.39°)
OKLaboklab(57.08% 0.1036 -0.1479)
OKLCHoklch(57.08% 0.181 305)
XYZxyz(25.6245, 16.6723, 58.3565)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154CB #8ECB54
analogous
#5654CB #9154CB #CB54CA
triadic
#9154CB #CB9154 #54CB91
tetradic
#9154CB #CB5654 #8ECB54 #54CACB
square
#9154CB #CB5654 #8ECB54 #54CACB
split-complementary
#9154CB #CACB54 #54CB56
monochromatic
#53267E #7235AD #9154CB #AF83D9 #CDB2E8

Accessibility & contrast

On white

4.84
#9154CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9154CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9154CB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154CB#FFFFFF#000000##FFFFFF
##9154CB1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2070CF
Deuteranopia (green-blind)
#3B72C8
Tritanopia (blue-blind)
#876B87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9154cb;
/* rgb */ color: rgb(145, 84, 203);
/* oklch */ color: oklch(57.1% 0.181 305.0);
Tailwind
colors: {
  custom: {
    50: '#b587db',
    500: '#9154cb',
    950: '#000000',
  },
}
SCSS
$custom: #9154cb;
$custom-light: #b587db;
$custom-dark: #000000;
JSON
{
  "hex": "#9154cb",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 270.756,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57076,
    "c": 0.18059,
    "h": 305
  },
  "luminance": 0.16672
}

Semantic roles & 50–950 ramp

primary
#9154CB
secondary
#BDD6A5
accent
#DD4B92
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9154CB

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

Preview Lab → · Contrast checker → · Palette generator →

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