#9A2E97#9A2E97

#9A2E97 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.4% C 0.186 H 329.1°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#9A2E97
RGBrgb(154, 46, 151)
HSLhsl(302, 54%, 39%)
HSVhsv(302, 70%, 60%)
CMYKcmyk(0%, 70.1%, 1.9%, 39.6%)
CIE-LABlab(39.68, 56.84, -34.66)
CIE-LCHlch(39.68, 66.57, 328.63°)
OKLaboklab(50.44% 0.1599 -0.0957)
OKLCHoklch(50.44% 0.186 329.1)
XYZxyz(19.8892, 11.0598, 30.3594)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2E97 #2E9A31
analogous
#672E9A #9A2E97 #9A2E61
triadic
#9A2E97 #979A2E #2E979A
tetradic
#9A2E97 #9A672E #2E9A31 #2E619A
square
#9A2E97 #9A672E #2E9A31 #2E619A
split-complementary
#9A2E97 #619A2E #2E9A67
monochromatic
#3C123B #6B2069 #9A2E97 #C63FC2 #D46FD1

Accessibility & contrast

On white

6.54
#9A2E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#9A2E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2E97
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2E97#FFFFFF#000000##FFFFFF
##9A2E971.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20549A
Deuteranopia (green-blind)
#4C6394
Tritanopia (blue-blind)
#9F3C5F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9a2e97;
/* rgb */ color: rgb(154, 46, 151);
/* oklch */ color: oklch(50.4% 0.186 329.1);
Tailwind
colors: {
  custom: {
    50: '#bb71b6',
    500: '#9a2e97',
    950: '#000000',
  },
}
SCSS
$custom: #9a2e97;
$custom-light: #bb71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2e97",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 301.667,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.18633,
    "h": 329.1
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#9A2E97
secondary
#69BB6B
accent
#DD4F4A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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