#9A2498#9A2498

#9A2498 is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.198 H 328.8°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9A2498
RGBrgb(154, 36, 152)
HSLhsl(301, 62%, 37%)
HSVhsv(301, 77%, 60%)
CMYKcmyk(0%, 76.6%, 1.3%, 39.6%)
CIE-LABlab(38.55, 60.39, -37.05)
CIE-LCHlch(38.55, 70.85, 328.47°)
OKLaboklab(49.65% 0.1695 -0.1026)
OKLCHoklch(49.65% 0.198 328.8)
XYZxyz(19.6246, 10.4003, 30.6735)
Luminance0.1040 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2498 #249A26
analogous
#61249A #9A2498 #9A245D
triadic
#9A2498 #989A24 #24989A
tetradic
#9A2498 #9A6124 #249A26 #245D9A
square
#9A2498 #9A6124 #249A26 #245D9A
split-complementary
#9A2498 #5D9A24 #249A61
monochromatic
#370D36 #681867 #9A2498 #CC30C9 #DA5FD7

Accessibility & contrast

On white

6.82
#9A2498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9A2498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2498
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2498#FFFFFF#000000##FFFFFF
##9A24981.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B519B
Deuteranopia (green-blind)
#476095
Tritanopia (blue-blind)
#9F365D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a2498;
/* rgb */ color: rgb(154, 36, 152);
/* oklch */ color: oklch(49.7% 0.198 328.8);
Tailwind
colors: {
  custom: {
    50: '#bb6db7',
    500: '#9a2498',
    950: '#000000',
  },
}
SCSS
$custom: #9a2498;
$custom-light: #bb6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2498",
  "rgb": {
    "r": 154,
    "g": 36,
    "b": 152
  },
  "hsl": {
    "h": 301.017,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49651,
    "c": 0.19813,
    "h": 328.8
  },
  "luminance": 0.10399
}

Semantic roles & 50–950 ramp

primary
#9A2498
secondary
#5BBF5D
accent
#E54543
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2498

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

Preview Lab → · Contrast checker → · Palette generator →

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