#9154BC#9154BC

#9154BC is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.1% C 0.163 H 309.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9154BC
RGBrgb(145, 84, 188)
HSLhsl(275, 44%, 53%)
HSVhsv(275, 55%, 74%)
CMYKcmyk(22.9%, 55.3%, 0%, 26.3%)
CIE-LABlab(46.96, 44.30, -45.12)
CIE-LCHlch(46.96, 63.23, 314.47°)
OKLaboklab(56.15% 0.1032 -0.1267)
OKLCHoklch(56.15% 0.163 309.2)
XYZxyz(23.9227, 15.9916, 49.3936)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9154BC #7FBC54
analogous
#5D54BC #9154BC #BC54B3
triadic
#9154BC #BC9154 #54BC91
tetradic
#9154BC #BC5D54 #7FBC54 #54B3BC
square
#9154BC #BC5D54 #7FBC54 #54B3BC
split-complementary
#9154BC #B3BC54 #54BC5D
monochromatic
#502A6B #713B97 #9154BC #AD80CD #CAACDE

Accessibility & contrast

On white

5.00
#9154BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9154BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9154BC
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9154BC#FFFFFF#000000##FFFFFF
##9154BC1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DBF
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#8B6780
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9154bc;
/* rgb */ color: rgb(145, 84, 188);
/* oklch */ color: oklch(56.1% 0.163 309.2);
Tailwind
colors: {
  custom: {
    50: '#b486d1',
    500: '#9154bc',
    950: '#000000',
  },
}
SCSS
$custom: #9154bc;
$custom-light: #b486d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9154bc",
  "rgb": {
    "r": 145,
    "g": 84,
    "b": 188
  },
  "hsl": {
    "h": 275.192,
    "s": 43.697,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56146,
    "c": 0.16339,
    "h": 309.2
  },
  "luminance": 0.15991
}

Semantic roles & 50–950 ramp

primary
#9154BC
secondary
#B2CCA0
accent
#D35489
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9154BC

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

Preview Lab → · Contrast checker → · Palette generator →

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