#9A207C#9A207C

#9A207C is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.8% C 0.182 H 340.2°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#9A207C
RGBrgb(154, 32, 124)
HSLhsl(315, 66%, 36%)
HSVhsv(315, 79%, 60%)
CMYKcmyk(0%, 79.2%, 19.5%, 39.6%)
CIE-LABlab(36.67, 57.33, -22.79)
CIE-LCHlch(36.67, 61.69, 338.32°)
OKLaboklab(47.83% 0.1714 -0.0615)
OKLCHoklch(47.83% 0.182 340.2)
XYZxyz(17.4816, 9.3601, 19.9509)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A207C #209A3E
analogous
#7B209A #9A207C #9A203F
triadic
#9A207C #7C9A20 #207C9A
tetradic
#9A207C #9A7B20 #209A3E #203F9A
square
#9A207C #9A7B20 #209A3E #203F9A
split-complementary
#9A207C #3F9A20 #209A7B
monochromatic
#350B2A #671553 #9A207C #CD2BA5 #DC58BC

Accessibility & contrast

On white

7.31
#9A207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#9A207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A207C
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A207C#FFFFFF#000000##FFFFFF
##9A207C1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4A7E
Deuteranopia (green-blind)
#525D79
Tritanopia (blue-blind)
#A3244C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a207c;
/* rgb */ color: rgb(154, 32, 124);
/* oklch */ color: oklch(47.8% 0.182 340.2);
Tailwind
colors: {
  custom: {
    50: '#bc6aa2',
    500: '#9a207c',
    950: '#000000',
  },
}
SCSS
$custom: #9a207c;
$custom-light: #bc6aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a207c",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 314.754,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47825,
    "c": 0.1821,
    "h": 340.2
  },
  "luminance": 0.09358
}

Semantic roles & 50–950 ramp

primary
#9A207C
secondary
#56C070
accent
#E9693F
background
#FCF6FA
surface
#F8ECF3
border
#D1C7CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A207C

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

Preview Lab → · Contrast checker → · Palette generator →

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