#9150A2#9150A2

#9150A2 is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.1% C 0.141 H 319.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9150A2
RGBrgb(145, 80, 162)
HSLhsl(288, 34%, 47%)
HSVhsv(288, 51%, 64%)
CMYKcmyk(10.5%, 50.6%, 0%, 36.5%)
CIE-LABlab(44.75, 40.72, -33.34)
CIE-LCHlch(44.75, 52.63, 320.69°)
OKLaboklab(54.07% 0.1064 -0.0924)
OKLCHoklch(54.07% 0.141 319)
XYZxyz(21.0664, 14.3665, 35.8387)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9150A2 #61A250
analogous
#6850A2 #9150A2 #A2508A
triadic
#9150A2 #A29150 #50A291
tetradic
#9150A2 #A26850 #61A250 #508AA2
square
#9150A2 #A26850 #61A250 #508AA2
split-complementary
#9150A2 #8AA250 #50A268
monochromatic
#482850 #6C3C79 #9150A2 #AC75BB #C59ECF

Accessibility & contrast

On white

5.42
#9150A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9150A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9150A2
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9150A2#FFFFFF#000000##FFFFFF
##9150A21.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4165A5
Deuteranopia (green-blind)
#556CA0
Tritanopia (blue-blind)
#915B71
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9150a2;
/* rgb */ color: rgb(145, 80, 162);
/* oklch */ color: oklch(54.1% 0.141 319.0);
Tailwind
colors: {
  custom: {
    50: '#b383be',
    500: '#9150a2',
    950: '#000000',
  },
}
SCSS
$custom: #9150a2;
$custom-light: #b383be;
$custom-dark: #000000;
JSON
{
  "hex": "#9150a2",
  "rgb": {
    "r": 145,
    "g": 80,
    "b": 162
  },
  "hsl": {
    "h": 287.561,
    "s": 33.884,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54065,
    "c": 0.1409,
    "h": 319
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#9150A2
secondary
#9BBC92
accent
#CA5E74
background
#FBF8FB
surface
#F6EFF7
border
#D0CAD0
text
#110B12
muted
#807C81

Preview Lab

Preview with #9150A2

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

Preview Lab → · Contrast checker → · Palette generator →

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