#9A2E89#9A2E89

#9A2E89 is a mid, vivid purple. Relative luminance 0.106; OKLCH L 49.7% C 0.175 H 334.9°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9A2E89
RGBrgb(154, 46, 137)
HSLhsl(309, 54%, 39%)
HSVhsv(309, 70%, 60%)
CMYKcmyk(0%, 70.1%, 11%, 39.6%)
CIE-LABlab(38.95, 54.55, -27.27)
CIE-LCHlch(38.95, 60.99, 333.44°)
OKLaboklab(49.68% 0.1589 -0.0744)
OKLCHoklch(49.68% 0.175 334.9)
XYZxyz(18.8190, 10.6318, 24.7230)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2E89 #2E9A3F
analogous
#752E9A #9A2E89 #9A2E53
triadic
#9A2E89 #899A2E #2E899A
tetradic
#9A2E89 #9A752E #2E9A3F #2E539A
square
#9A2E89 #9A752E #2E9A3F #2E539A
split-complementary
#9A2E89 #539A2E #2E9A75
monochromatic
#3C1235 #6B205F #9A2E89 #C63FB1 #D46FC4

Accessibility & contrast

On white

6.72
#9A2E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9A2E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2E89
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2E89#FFFFFF#000000##FFFFFF
##9A2E891.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D518C
Deuteranopia (green-blind)
#526186
Tritanopia (blue-blind)
#A23657
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a2e89;
/* rgb */ color: rgb(154, 46, 137);
/* oklch */ color: oklch(49.7% 0.175 334.9);
Tailwind
colors: {
  custom: {
    50: '#bb70ab',
    500: '#9a2e89',
    950: '#000000',
  },
}
SCSS
$custom: #9a2e89;
$custom-light: #bb70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2e89",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 309.444,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49681,
    "c": 0.17542,
    "h": 334.9
  },
  "luminance": 0.1063
}

Semantic roles & 50–950 ramp

primary
#9A2E89
secondary
#69BB76
accent
#DD624A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9A2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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