#9A207B#9A207B

#9A207B is a mid, vivid pink. Relative luminance 0.093; OKLCH L 47.8% C 0.181 H 340.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#9A207B
RGBrgb(154, 32, 123)
HSLhsl(315, 66%, 36%)
HSVhsv(315, 79%, 60%)
CMYKcmyk(0%, 79.2%, 20.1%, 39.6%)
CIE-LABlab(36.62, 57.19, -22.24)
CIE-LCHlch(36.62, 61.36, 338.75°)
OKLaboklab(47.78% 0.1712 -0.06)
OKLCHoklch(47.78% 0.181 340.7)
XYZxyz(17.4186, 9.3349, 19.6195)
Luminance0.0933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A207B #209A3F
analogous
#7C209A #9A207B #9A203E
triadic
#9A207B #7B9A20 #207B9A
tetradic
#9A207B #9A7C20 #209A3F #203E9A
square
#9A207B #9A7C20 #209A3F #203E9A
split-complementary
#9A207B #3E9A20 #209A7C
monochromatic
#350B2A #671553 #9A207B #CD2BA3 #DC58BB

Accessibility & contrast

On white

7.33
#9A207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9A207B
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A207B#FFFFFF#000000##FFFFFF
##9A207B1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4A7D
Deuteranopia (green-blind)
#535D78
Tritanopia (blue-blind)
#A4244C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #9a207b;
/* rgb */ color: rgb(154, 32, 123);
/* oklch */ color: oklch(47.8% 0.181 340.7);
Tailwind
colors: {
  custom: {
    50: '#bc6aa1',
    500: '#9a207b',
    950: '#000000',
  },
}
SCSS
$custom: #9a207b;
$custom-light: #bc6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a207b",
  "rgb": {
    "r": 154,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 315.246,
    "s": 65.591,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47775,
    "c": 0.18144,
    "h": 340.7
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#9A207B
secondary
#56C071
accent
#E96A3F
background
#FCF6F9
surface
#F8ECF2
border
#D1C7CC
text
#12070F
muted
#817A7E

Preview Lab

Preview with #9A207B

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

Preview Lab → · Contrast checker → · Palette generator →

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