#9151A2#9151A2

#9151A2 is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.2% C 0.139 H 318.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9151A2
RGBrgb(145, 81, 162)
HSLhsl(287, 33%, 48%)
HSVhsv(287, 50%, 64%)
CMYKcmyk(10.5%, 50%, 0%, 36.5%)
CIE-LABlab(44.96, 40.18, -33.02)
CIE-LCHlch(44.96, 52.00, 320.59°)
OKLaboklab(54.22% 0.1049 -0.0915)
OKLCHoklch(54.22% 0.139 318.9)
XYZxyz(21.1402, 14.5140, 35.8633)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151A2 #62A251
analogous
#6851A2 #9151A2 #A2518B
triadic
#9151A2 #A29151 #51A291
tetradic
#9151A2 #A26851 #62A251 #518BA2
square
#9151A2 #A26851 #62A251 #518BA2
split-complementary
#9151A2 #8BA251 #51A268
monochromatic
#482850 #6C3D79 #9151A2 #AC76BA #C59FCF

Accessibility & contrast

On white

5.38
#9151A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9151A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9151A2#FFFFFF#000000##FFFFFF
##9151A21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4366A5
Deuteranopia (green-blind)
#566DA0
Tritanopia (blue-blind)
#915C72
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9151a2;
/* rgb */ color: rgb(145, 81, 162);
/* oklch */ color: oklch(54.2% 0.139 318.9);
Tailwind
colors: {
  custom: {
    50: '#b384be',
    500: '#9151a2',
    950: '#000000',
  },
}
SCSS
$custom: #9151a2;
$custom-light: #b384be;
$custom-dark: #000000;
JSON
{
  "hex": "#9151a2",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 162
  },
  "hsl": {
    "h": 287.407,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.54219,
    "c": 0.13919,
    "h": 318.9
  },
  "luminance": 0.14513
}

Semantic roles & 50–950 ramp

primary
#9151A2
secondary
#9CBC93
accent
#C95E75
background
#FBF8FB
surface
#F6EFF6
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #9151A2

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

Preview Lab → · Contrast checker → · Palette generator →

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