#9151AA#9151AA

#9151AA is a mid, vivid purple. Relative luminance 0.148; OKLCH L 54.7% C 0.148 H 315.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9151AA
RGBrgb(145, 81, 170)
HSLhsl(283, 35%, 49%)
HSVhsv(283, 52%, 67%)
CMYKcmyk(14.7%, 52.4%, 0%, 33.3%)
CIE-LABlab(45.37, 41.89, -37.11)
CIE-LCHlch(45.37, 55.96, 318.46°)
OKLaboklab(54.65% 0.1059 -0.1033)
OKLCHoklch(54.65% 0.148 315.7)
XYZxyz(21.8741, 14.8075, 39.7283)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151AA #6AAA51
analogous
#6551AA #9151AA #AA5197
triadic
#9151AA #AA9151 #51AA91
tetradic
#9151AA #AA6551 #6AAA51 #5197AA
square
#9151AA #AA6551 #6AAA51 #5197AA
split-complementary
#9151AA #97AA51 #51AA65
monochromatic
#4A2A57 #6E3D81 #9151AA #AB79BF #C5A2D3

Accessibility & contrast

On white

5.30
#9151AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9151AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151AA
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151AA#FFFFFF#000000##FFFFFF
##9151AA1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D67AD
Deuteranopia (green-blind)
#516DA8
Tritanopia (blue-blind)
#905F76
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9151aa;
/* rgb */ color: rgb(145, 81, 170);
/* oklch */ color: oklch(54.7% 0.148 315.7);
Tailwind
colors: {
  custom: {
    50: '#b384c3',
    500: '#9151aa',
    950: '#000000',
  },
}
SCSS
$custom: #9151aa;
$custom-light: #b384c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9151aa",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 170
  },
  "hsl": {
    "h": 283.146,
    "s": 35.458,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54654,
    "c": 0.14795,
    "h": 315.7
  },
  "luminance": 0.14807
}

Semantic roles & 50–950 ramp

primary
#9151AA
secondary
#A2C097
accent
#CB5C7C
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B12
muted
#807C81

Preview Lab

Preview with #9151AA

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

Preview Lab → · Contrast checker → · Palette generator →

#9151AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva