#9A237F#9A237F

#9A237F is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.2% C 0.181 H 339.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9A237F
RGBrgb(154, 35, 127)
HSLhsl(314, 63%, 37%)
HSVhsv(314, 77%, 60%)
CMYKcmyk(0%, 77.3%, 17.5%, 39.6%)
CIE-LABlab(37.13, 56.85, -23.95)
CIE-LCHlch(37.13, 61.69, 337.16°)
OKLaboklab(48.2% 0.169 -0.0649)
OKLCHoklch(48.2% 0.181 339)
XYZxyz(17.7587, 9.6061, 20.9935)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A237F #239A3E
analogous
#79239A #9A237F #9A2344
triadic
#9A237F #7F9A23 #237F9A
tetradic
#9A237F #9A7923 #239A3E #23449A
square
#9A237F #9A7923 #239A3E #23449A
split-complementary
#9A237F #449A23 #239A79
monochromatic
#360C2D #681856 #9A237F #CC2EA8 #DA5DBE

Accessibility & contrast

On white

7.19
#9A237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9A237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9A237F
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A237F#FFFFFF#000000##FFFFFF
##9A237F1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4B81
Deuteranopia (green-blind)
#525E7C
Tritanopia (blue-blind)
#A3284F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9a237f;
/* rgb */ color: rgb(154, 35, 127);
/* oklch */ color: oklch(48.2% 0.181 339.0);
Tailwind
colors: {
  custom: {
    50: '#bc6ba4',
    500: '#9a237f',
    950: '#000000',
  },
}
SCSS
$custom: #9a237f;
$custom-light: #bc6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a237f",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 313.613,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48201,
    "c": 0.18105,
    "h": 339
  },
  "luminance": 0.09604
}

Semantic roles & 50–950 ramp

primary
#9A237F
secondary
#5ABF71
accent
#E66742
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #9A237F

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

Preview Lab → · Contrast checker → · Palette generator →

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