#9A2E99#9A2E99

#9A2E99 is a mid, vivid purple. Relative luminance 0.111; OKLCH L 50.6% C 0.188 H 328.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9A2E99
RGBrgb(154, 46, 153)
HSLhsl(301, 54%, 39%)
HSVhsv(301, 70%, 60%)
CMYKcmyk(0%, 70.1%, 0.6%, 39.6%)
CIE-LABlab(39.79, 57.18, -35.69)
CIE-LCHlch(39.79, 67.41, 328.03°)
OKLaboklab(50.56% 0.1599 -0.0987)
OKLCHoklch(50.56% 0.188 328.3)
XYZxyz(20.0530, 11.1254, 31.2220)
Luminance0.1112 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2E99 #2E9A2F
analogous
#652E9A #9A2E99 #9A2E63
triadic
#9A2E99 #999A2E #2E999A
tetradic
#9A2E99 #9A652E #2E9A2F #2E639A
square
#9A2E99 #9A652E #2E9A2F #2E639A
split-complementary
#9A2E99 #639A2E #2E9A65
monochromatic
#3C123B #6B206A #9A2E99 #C63FC5 #D46FD3

Accessibility & contrast

On white

6.51
#9A2E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#9A2E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2E99
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2E99#FFFFFF#000000##FFFFFF
##9A2E991.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E559C
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#9F3D60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a2e99;
/* rgb */ color: rgb(154, 46, 153);
/* oklch */ color: oklch(50.6% 0.188 328.3);
Tailwind
colors: {
  custom: {
    50: '#bb71b7',
    500: '#9a2e99',
    950: '#000000',
  },
}
SCSS
$custom: #9a2e99;
$custom-light: #bb71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2e99",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 153
  },
  "hsl": {
    "h": 300.556,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50557,
    "c": 0.18793,
    "h": 328.3
  },
  "luminance": 0.11124
}

Semantic roles & 50–950 ramp

primary
#9A2E99
secondary
#69BB69
accent
#DD4C4A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2E99

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

Preview Lab → · Contrast checker → · Palette generator →

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