#9A2E95#9A2E95

#9A2E95 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.185 H 329.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9A2E95
RGBrgb(154, 46, 149)
HSLhsl(303, 54%, 39%)
HSVhsv(303, 70%, 60%)
CMYKcmyk(0%, 70.1%, 3.2%, 39.6%)
CIE-LABlab(39.57, 56.50, -33.62)
CIE-LCHlch(39.57, 65.75, 329.25°)
OKLaboklab(50.33% 0.1598 -0.0927)
OKLCHoklch(50.33% 0.185 329.9)
XYZxyz(19.7281, 10.9954, 29.5112)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2E95 #2E9A33
analogous
#692E9A #9A2E95 #9A2E5F
triadic
#9A2E95 #959A2E #2E959A
tetradic
#9A2E95 #9A692E #2E9A33 #2E5F9A
square
#9A2E95 #9A692E #2E9A33 #2E5F9A
split-complementary
#9A2E95 #5F9A2E #2E9A69
monochromatic
#3C123A #6B2067 #9A2E95 #C63FC0 #D46FCF

Accessibility & contrast

On white

6.56
#9A2E95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9A2E95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2E95
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2E95#FFFFFF#000000##FFFFFF
##9A2E951.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225498
Deuteranopia (green-blind)
#4D6292
Tritanopia (blue-blind)
#A03B5E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a2e95;
/* rgb */ color: rgb(154, 46, 149);
/* oklch */ color: oklch(50.3% 0.185 329.9);
Tailwind
colors: {
  custom: {
    50: '#bb71b4',
    500: '#9a2e95',
    950: '#000000',
  },
}
SCSS
$custom: #9a2e95;
$custom-light: #bb71b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2e95",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 302.778,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.18472,
    "h": 329.9
  },
  "luminance": 0.10994
}

Semantic roles & 50–950 ramp

primary
#9A2E95
secondary
#69BB6C
accent
#DD514A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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