#9A207E#9A207E

#9A207E is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.9% C 0.183 H 339.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#9A207E
RGBrgb(154, 32, 126)
HSLhsl(314, 66%, 36%)
HSVhsv(314, 79%, 60%)
CMYKcmyk(0%, 79.2%, 18.2%, 39.6%)
CIE-LABlab(36.76, 57.61, -23.89)
CIE-LCHlch(36.76, 62.36, 337.48°)
OKLaboklab(47.93% 0.1716 -0.0647)
OKLCHoklch(47.93% 0.183 339.4)
XYZxyz(17.6093, 9.4112, 20.6238)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A207E #209A3C
analogous
#79209A #9A207E #9A2041
triadic
#9A207E #7E9A20 #207E9A
tetradic
#9A207E #9A7920 #209A3C #20419A
square
#9A207E #9A7920 #209A3C #20419A
split-complementary
#9A207E #419A20 #209A79
monochromatic
#350B2B #671555 #9A207E #CD2BA7 #DC58BE

Accessibility & contrast

On white

7.29
#9A207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#9A207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A207E
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A207E#FFFFFF#000000##FFFFFF
##9A207E1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A80
Deuteranopia (green-blind)
#525D7B
Tritanopia (blue-blind)
#A3254D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a207e;
/* rgb */ color: rgb(154, 32, 126);
/* oklch */ color: oklch(47.9% 0.183 339.4);
Tailwind
colors: {
  custom: {
    50: '#bc6aa3',
    500: '#9a207e',
    950: '#000000',
  },
}
SCSS
$custom: #9a207e;
$custom-light: #bc6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a207e",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 313.77,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47925,
    "c": 0.18341,
    "h": 339.4
  },
  "luminance": 0.09409
}

Semantic roles & 50–950 ramp

primary
#9A207E
secondary
#56C06E
accent
#E9663F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A207E

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

Preview Lab → · Contrast checker → · Palette generator →

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