#9A2899#9A2899

#9A2899 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.195 H 328.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9A2899
RGBrgb(154, 40, 153)
HSLhsl(301, 59%, 38%)
HSVhsv(301, 74%, 60%)
CMYKcmyk(0%, 74%, 0.6%, 39.6%)
CIE-LABlab(39.05, 59.28, -36.87)
CIE-LCHlch(39.05, 69.81, 328.12°)
OKLaboklab(50.03% 0.1659 -0.1021)
OKLCHoklch(50.03% 0.195 328.4)
XYZxyz(19.8348, 10.6890, 31.1493)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2899 #289A29
analogous
#62289A #9A2899 #9A2860
triadic
#9A2899 #999A28 #28999A
tetradic
#9A2899 #9A6228 #289A29 #28609A
square
#9A2899 #9A6228 #289A29 #28609A
split-complementary
#9A2899 #609A28 #289A62
monochromatic
#390F38 #691B69 #9A2899 #CA35C9 #D765D6

Accessibility & contrast

On white

6.69
#9A2899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9A2899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2899
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2899#FFFFFF#000000##FFFFFF
##9A28991.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13529C
Deuteranopia (green-blind)
#486196
Tritanopia (blue-blind)
#9F395E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9a2899;
/* rgb */ color: rgb(154, 40, 153);
/* oklch */ color: oklch(50.0% 0.195 328.4);
Tailwind
colors: {
  custom: {
    50: '#bb6eb7',
    500: '#9a2899',
    950: '#000000',
  },
}
SCSS
$custom: #9a2899;
$custom-light: #bb6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2899",
  "rgb": {
    "r": 154,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 300.526,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.50027,
    "c": 0.19477,
    "h": 328.4
  },
  "luminance": 0.10688
}

Semantic roles & 50–950 ramp

primary
#9A2899
secondary
#61BD62
accent
#E24746
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2899

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

Preview Lab → · Contrast checker → · Palette generator →

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