#9151AE#9151AE

#9151AE is a mid, vivid purple. Relative luminance 0.150; OKLCH L 54.9% C 0.152 H 314.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9151AE
RGBrgb(145, 81, 174)
HSLhsl(281, 36%, 50%)
HSVhsv(281, 53%, 68%)
CMYKcmyk(16.7%, 53.4%, 0%, 31.8%)
CIE-LABlab(45.58, 42.76, -39.13)
CIE-LCHlch(45.58, 57.96, 317.54°)
OKLaboklab(54.88% 0.1063 -0.1092)
OKLCHoklch(54.88% 0.152 314.2)
XYZxyz(22.2582, 14.9612, 41.7515)
Luminance0.1496 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151AE #6EAE51
analogous
#6251AE #9151AE #AE519D
triadic
#9151AE #AE9151 #51AE91
tetradic
#9151AE #AE6251 #6EAE51 #519DAE
square
#9151AE #AE6251 #6EAE51 #519DAE
split-complementary
#9151AE #9DAE51 #51AE62
monochromatic
#4B2A5A #6E3E84 #9151AE #AB7BC1 #C6A5D5

Accessibility & contrast

On white

5.26
#9151AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9151AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9151AE#FFFFFF#000000##FFFFFF
##9151AE1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A68B1
Deuteranopia (green-blind)
#4F6EAC
Tritanopia (blue-blind)
#8F6078
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9151ae;
/* rgb */ color: rgb(145, 81, 174);
/* oklch */ color: oklch(54.9% 0.152 314.2);
Tailwind
colors: {
  custom: {
    50: '#b384c6',
    500: '#9151ae',
    950: '#000000',
  },
}
SCSS
$custom: #9151ae;
$custom-light: #b384c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9151ae",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 174
  },
  "hsl": {
    "h": 281.29,
    "s": 36.471,
    "l": 50
  },
  "oklch": {
    "l": 0.54879,
    "c": 0.15239,
    "h": 314.2
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#9151AE
secondary
#A6C299
accent
#CC5B7F
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #9151AE

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

Preview Lab → · Contrast checker → · Palette generator →

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