#9A2099#9A2099

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

Color values

HEX#9A2099
RGBrgb(154, 32, 153)
HSLhsl(300, 66%, 36%)
HSVhsv(300, 79%, 60%)
CMYKcmyk(0%, 79.2%, 0.6%, 39.6%)
CIE-LABlab(38.21, 61.71, -38.21)
CIE-LCHlch(38.21, 72.58, 328.24°)
OKLaboklab(49.42% 0.1728 -0.1059)
OKLCHoklch(49.42% 0.203 328.5)
XYZxyz(19.5925, 10.2044, 31.0686)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2099 #209A21
analogous
#5E209A #9A2099 #9A205C
triadic
#9A2099 #999A20 #20999A
tetradic
#9A2099 #9A5E20 #209A21 #205C9A
square
#9A2099 #9A5E20 #209A21 #205C9A
split-complementary
#9A2099 #5C9A20 #209A5E
monochromatic
#350B34 #671567 #9A2099 #CD2BCB #DC58DB

Accessibility & contrast

On white

6.91
#9A2099 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9A2099 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2099
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2099#FFFFFF#000000##FFFFFF
##9A20991.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#9F355D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a2099;
/* rgb */ color: rgb(154, 32, 153);
/* oklch */ color: oklch(49.4% 0.203 328.5);
Tailwind
colors: {
  custom: {
    50: '#bc6bb7',
    500: '#9a2099',
    950: '#000000',
  },
}
SCSS
$custom: #9a2099;
$custom-light: #bc6bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2099",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 300.492,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49424,
    "c": 0.20266,
    "h": 328.5
  },
  "luminance": 0.10203
}

Semantic roles & 50–950 ramp

primary
#9A2099
secondary
#56C056
accent
#E9413F
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A2099

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

Preview Lab → · Contrast checker → · Palette generator →

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