#9A2098#9A2098

#9A2098 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.4% C 0.202 H 328.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9A2098
RGBrgb(154, 32, 152)
HSLhsl(301, 66%, 36%)
HSVhsv(301, 79%, 60%)
CMYKcmyk(0%, 79.2%, 1.3%, 39.6%)
CIE-LABlab(38.15, 61.55, -37.69)
CIE-LCHlch(38.15, 72.17, 328.52°)
OKLaboklab(49.36% 0.1728 -0.1044)
OKLCHoklch(49.36% 0.202 328.9)
XYZxyz(19.5103, 10.1715, 30.6354)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2098 #209A22
analogous
#5F209A #9A2098 #9A205B
triadic
#9A2098 #989A20 #20989A
tetradic
#9A2098 #9A5F20 #209A22 #205B9A
square
#9A2098 #9A5F20 #209A22 #205B9A
split-complementary
#9A2098 #5B9A20 #209A5F
monochromatic
#350B34 #671566 #9A2098 #CD2BCA #DC58DA

Accessibility & contrast

On white

6.92
#9A2098 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9A2098 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2098
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2098#FFFFFF#000000##FFFFFF
##9A20981.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509B
Deuteranopia (green-blind)
#455F95
Tritanopia (blue-blind)
#9F345C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2098;
/* rgb */ color: rgb(154, 32, 152);
/* oklch */ color: oklch(49.4% 0.202 328.9);
Tailwind
colors: {
  custom: {
    50: '#bc6bb7',
    500: '#9a2098',
    950: '#000000',
  },
}
SCSS
$custom: #9a2098;
$custom-light: #bc6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2098",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 300.984,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49364,
    "c": 0.20191,
    "h": 328.9
  },
  "luminance": 0.1017
}

Semantic roles & 50–950 ramp

primary
#9A2098
secondary
#56C057
accent
#E9423F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A2098

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

Preview Lab → · Contrast checker → · Palette generator →

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