#9151AC#9151AC

#9151AC is a mid, vivid purple. Relative luminance 0.149; OKLCH L 54.8% C 0.150 H 315.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#9151AC
RGBrgb(145, 81, 172)
HSLhsl(282, 36%, 50%)
HSVhsv(282, 53%, 67%)
CMYKcmyk(15.7%, 52.9%, 0%, 32.5%)
CIE-LABlab(45.47, 42.32, -38.12)
CIE-LCHlch(45.47, 56.95, 317.99°)
OKLaboklab(54.77% 0.1061 -0.1062)
OKLCHoklch(54.77% 0.15 315)
XYZxyz(22.0647, 14.8838, 40.7323)
Luminance0.1488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151AC #6CAC51
analogous
#6451AC #9151AC #AC5199
triadic
#9151AC #AC9151 #51AC91
tetradic
#9151AC #AC6451 #6CAC51 #5199AC
square
#9151AC #AC6451 #6CAC51 #5199AC
split-complementary
#9151AC #99AC51 #51AC64
monochromatic
#4B2A59 #6E3D82 #9151AC #AB7AC0 #C6A3D4

Accessibility & contrast

On white

5.28
#9151AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9151AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9151AC#FFFFFF#000000##FFFFFF
##9151AC1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C68AF
Deuteranopia (green-blind)
#506DAA
Tritanopia (blue-blind)
#8F5F77
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9151ac;
/* rgb */ color: rgb(145, 81, 172);
/* oklch */ color: oklch(54.8% 0.150 315.0);
Tailwind
colors: {
  custom: {
    50: '#b384c5',
    500: '#9151ac',
    950: '#000000',
  },
}
SCSS
$custom: #9151ac;
$custom-light: #b384c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9151ac",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 172
  },
  "hsl": {
    "h": 282.198,
    "s": 35.968,
    "l": 49.608
  },
  "oklch": {
    "l": 0.54766,
    "c": 0.15016,
    "h": 315
  },
  "luminance": 0.14883
}

Semantic roles & 50–950 ramp

primary
#9151AC
secondary
#A4C198
accent
#CC5C7D
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #9151AC

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

Preview Lab → · Contrast checker → · Palette generator →

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