#9A207F#9A207F

#9A207F is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.184 H 338.9°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#9A207F
RGBrgb(154, 32, 127)
HSLhsl(313, 66%, 36%)
HSVhsv(313, 79%, 60%)
CMYKcmyk(0%, 79.2%, 17.5%, 39.6%)
CIE-LABlab(36.81, 57.75, -24.43)
CIE-LCHlch(36.81, 62.70, 337.07°)
OKLaboklab(47.98% 0.1717 -0.0662)
OKLCHoklch(47.98% 0.184 338.9)
XYZxyz(17.6742, 9.4371, 20.9653)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A207F #209A3B
analogous
#78209A #9A207F #9A2042
triadic
#9A207F #7F9A20 #207F9A
tetradic
#9A207F #9A7820 #209A3B #20429A
square
#9A207F #9A7820 #209A3B #20429A
split-complementary
#9A207F #429A20 #209A78
monochromatic
#350B2B #671555 #9A207F #CD2BA9 #DC58BF

Accessibility & contrast

On white

7.27
#9A207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#9A207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A207F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A207F#FFFFFF#000000##FFFFFF
##9A207F1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284A81
Deuteranopia (green-blind)
#515D7C
Tritanopia (blue-blind)
#A3264E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a207f;
/* rgb */ color: rgb(154, 32, 127);
/* oklch */ color: oklch(48.0% 0.184 338.9);
Tailwind
colors: {
  custom: {
    50: '#bc6aa4',
    500: '#9a207f',
    950: '#000000',
  },
}
SCSS
$custom: #9a207f;
$custom-light: #bc6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a207f",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 313.279,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47975,
    "c": 0.18407,
    "h": 338.9
  },
  "luminance": 0.09435
}

Semantic roles & 50–950 ramp

primary
#9A207F
secondary
#56C06D
accent
#E9653F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A207F

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

Preview Lab → · Contrast checker → · Palette generator →

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