#9A2298#9A2298

#9A2298 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.5% C 0.200 H 328.8°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#9A2298
RGBrgb(154, 34, 152)
HSLhsl(301, 64%, 37%)
HSVhsv(301, 78%, 60%)
CMYKcmyk(0%, 77.9%, 1.3%, 39.6%)
CIE-LABlab(38.34, 60.98, -37.38)
CIE-LCHlch(38.34, 71.53, 328.49°)
OKLaboklab(49.5% 0.1712 -0.1035)
OKLCHoklch(49.5% 0.2 328.8)
XYZxyz(19.5658, 10.2826, 30.6539)
Luminance0.1028 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2298 #229A24
analogous
#60229A #9A2298 #9A225C
triadic
#9A2298 #989A22 #22989A
tetradic
#9A2298 #9A6022 #229A24 #225C9A
square
#9A2298 #9A6022 #229A24 #225C9A
split-complementary
#9A2298 #5C9A22 #229A60
monochromatic
#360C35 #681767 #9A2298 #CC2DC9 #DB5BD9

Accessibility & contrast

On white

6.87
#9A2298 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9A2298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2298
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2298#FFFFFF#000000##FFFFFF
##9A22981.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06509B
Deuteranopia (green-blind)
#466095
Tritanopia (blue-blind)
#9F355C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2298;
/* rgb */ color: rgb(154, 34, 152);
/* oklch */ color: oklch(49.5% 0.200 328.8);
Tailwind
colors: {
  custom: {
    50: '#bc6cb7',
    500: '#9a2298',
    950: '#000000',
  },
}
SCSS
$custom: #9a2298;
$custom-light: #bc6cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2298",
  "rgb": {
    "r": 154,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 301,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49504,
    "c": 0.20007,
    "h": 328.8
  },
  "luminance": 0.10281
}

Semantic roles & 50–950 ramp

primary
#9A2298
secondary
#58BF5A
accent
#E74441
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A2298

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

Preview Lab → · Contrast checker → · Palette generator →

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