#9A159E#9A159E

#9A159E is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.215 H 326.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9A159E
RGBrgb(154, 21, 158)
HSLhsl(298, 77%, 35%)
HSVhsv(298, 87%, 62%)
CMYKcmyk(2.5%, 86.7%, 0%, 38%)
CIE-LABlab(37.62, 65.11, -42.17)
CIE-LCHlch(37.62, 77.58, 327.07°)
OKLaboklab(49.11% 0.1798 -0.1174)
OKLCHoklch(49.11% 0.215 326.8)
XYZxyz(19.7658, 9.8764, 33.2064)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A159E #199E15
analogous
#55159E #9A159E #9E155E
triadic
#9A159E #9E9A15 #159E9A
tetradic
#9A159E #9E5515 #199E15 #155E9E
square
#9A159E #9E5515 #199E15 #155E9E
split-complementary
#9A159E #5E9E15 #159E55
monochromatic
#310732 #650E68 #9A159E #CF1CD4 #E247E7

Accessibility & contrast

On white

7.06
#9A159E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9A159E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A159E
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A159E#FFFFFF#000000##FFFFFF
##9A159E1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA1
Deuteranopia (green-blind)
#3D5E9B
Tritanopia (blue-blind)
#9E325D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9a159e;
/* rgb */ color: rgb(154, 21, 158);
/* oklch */ color: oklch(49.1% 0.215 326.8);
Tailwind
colors: {
  custom: {
    50: '#bc68bb',
    500: '#9a159e',
    950: '#000000',
  },
}
SCSS
$custom: #9a159e;
$custom-light: #bc68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a159e",
  "rgb": {
    "r": 154,
    "g": 21,
    "b": 158
  },
  "hsl": {
    "h": 298.248,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.49106,
    "c": 0.21471,
    "h": 326.8
  },
  "luminance": 0.09875
}

Semantic roles & 50–950 ramp

primary
#9A159E
secondary
#4BC747
accent
#F3353A
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #9A159E

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

Preview Lab → · Contrast checker → · Palette generator →

#9A159E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva