#9151AD#9151AD

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

Color values

HEX#9151AD
RGBrgb(145, 81, 173)
HSLhsl(282, 36%, 50%)
HSVhsv(282, 53%, 68%)
CMYKcmyk(16.2%, 53.2%, 0%, 32.2%)
CIE-LABlab(45.53, 42.54, -38.62)
CIE-LCHlch(45.53, 57.46, 317.76°)
OKLaboklab(54.82% 0.1062 -0.1077)
OKLCHoklch(54.82% 0.151 314.6)
XYZxyz(22.1611, 14.9224, 41.2400)
Luminance0.1492 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151AD #6DAD51
analogous
#6351AD #9151AD #AD519B
triadic
#9151AD #AD9151 #51AD91
tetradic
#9151AD #AD6351 #6DAD51 #519BAD
square
#9151AD #AD6351 #6DAD51 #519BAD
split-complementary
#9151AD #9BAD51 #51AD63
monochromatic
#4B2A5A #6E3D83 #9151AD #AB7AC1 #C6A4D4

Accessibility & contrast

On white

5.27
#9151AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9151AD#FFFFFF#000000##FFFFFF
##9151AD1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B68B0
Deuteranopia (green-blind)
#506EAB
Tritanopia (blue-blind)
#8F6077
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9151ad;
/* rgb */ color: rgb(145, 81, 173);
/* oklch */ color: oklch(54.8% 0.151 314.6);
Tailwind
colors: {
  custom: {
    50: '#b384c6',
    500: '#9151ad',
    950: '#000000',
  },
}
SCSS
$custom: #9151ad;
$custom-light: #b384c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9151ad",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 173
  },
  "hsl": {
    "h": 281.739,
    "s": 36.22,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54822,
    "c": 0.15128,
    "h": 314.6
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

primary
#9151AD
secondary
#A5C298
accent
#CC5C7E
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #9151AD

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

Preview Lab → · Contrast checker → · Palette generator →

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