#9A239C#9A239C

#9A239C is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.8% C 0.202 H 327.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#9A239C
RGBrgb(154, 35, 156)
HSLhsl(299, 63%, 37%)
HSVhsv(299, 78%, 61%)
CMYKcmyk(1.3%, 77.6%, 0%, 38.8%)
CIE-LABlab(38.68, 61.35, -39.27)
CIE-LCHlch(38.68, 72.84, 327.37°)
OKLaboklab(49.82% 0.1703 -0.109)
OKLCHoklch(49.82% 0.202 327.4)
XYZxyz(19.9279, 10.4738, 32.4181)
Luminance0.1047 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A239C #259C23
analogous
#5D239C #9A239C #9C2362
triadic
#9A239C #9C9A23 #239C9A
tetradic
#9A239C #9C5D23 #259C23 #23629C
square
#9A239C #9C5D23 #259C23 #23629C
split-complementary
#9A239C #629C23 #239C5D
monochromatic
#370D38 #69186A #9A239C #CB2ECE #D95EDB

Accessibility & contrast

On white

6.79
#9A239C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9A239C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A239C
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A239C#FFFFFF#000000##FFFFFF
##9A239C1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#446099
Tritanopia (blue-blind)
#9F385F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a239c;
/* rgb */ color: rgb(154, 35, 156);
/* oklch */ color: oklch(49.8% 0.202 327.4);
Tailwind
colors: {
  custom: {
    50: '#bc6dba',
    500: '#9a239c',
    950: '#000000',
  },
}
SCSS
$custom: #9a239c;
$custom-light: #bc6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9a239c",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 299.008,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49818,
    "c": 0.20218,
    "h": 327.4
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#9A239C
secondary
#5DC05B
accent
#E64144
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A239C

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

Preview Lab → · Contrast checker → · Palette generator →

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