#9A209D#9A209D

#9A209D is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.7% C 0.206 H 327.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#9A209D
RGBrgb(154, 32, 157)
HSLhsl(299, 66%, 37%)
HSVhsv(299, 80%, 62%)
CMYKcmyk(1.9%, 79.6%, 0%, 38.4%)
CIE-LABlab(38.44, 62.37, -40.25)
CIE-LCHlch(38.44, 74.23, 327.16°)
OKLaboklab(49.67% 0.1726 -0.1119)
OKLCHoklch(49.67% 0.206 327)
XYZxyz(19.9284, 10.3388, 32.8377)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A209D #239D20
analogous
#5C209D #9A209D #9D2062
triadic
#9A209D #9D9A20 #209D9A
tetradic
#9A209D #9D5C20 #239D20 #20629D
square
#9A209D #9D5C20 #239D20 #20629D
split-complementary
#9A209D #629D20 #209D5C
monochromatic
#360B37 #68166A #9A209D #CC2AD0 #DA5ADD

Accessibility & contrast

On white

6.85
#9A209D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#9A209D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A209D
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A209D#FFFFFF#000000##FFFFFF
##9A209D1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A0
Deuteranopia (green-blind)
#42609A
Tritanopia (blue-blind)
#9F375F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9a209d;
/* rgb */ color: rgb(154, 32, 157);
/* oklch */ color: oklch(49.7% 0.206 327.0);
Tailwind
colors: {
  custom: {
    50: '#bc6cba',
    500: '#9a209d',
    950: '#000000',
  },
}
SCSS
$custom: #9a209d;
$custom-light: #bc6cba;
$custom-dark: #000000;
JSON
{
  "hex": "#9a209d",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 298.56,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49669,
    "c": 0.20569,
    "h": 327
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#9A209D
secondary
#5AC157
accent
#E93F43
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #9A209D

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

Preview Lab → · Contrast checker → · Palette generator →

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