#9A239A#9A239A

#9A239A is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.7% C 0.201 H 328.1°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#9A239A
RGBrgb(154, 35, 154)
HSLhsl(300, 63%, 37%)
HSVhsv(300, 77%, 60%)
CMYKcmyk(0%, 77.3%, 0%, 39.6%)
CIE-LABlab(38.56, 61.02, -38.25)
CIE-LCHlch(38.56, 72.02, 327.92°)
OKLaboklab(49.7% 0.1703 -0.1061)
OKLCHoklch(49.7% 0.201 328.1)
XYZxyz(19.7600, 10.4066, 31.5335)
Luminance0.1041 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A239A #239A23
analogous
#5F239A #9A239A #9A235F
triadic
#9A239A #9A9A23 #239A9A
tetradic
#9A239A #9A5F23 #239A23 #235F9A
square
#9A239A #9A5F23 #239A23 #235F9A
split-complementary
#9A239A #5F9A23 #239A5F
monochromatic
#360C36 #681868 #9A239A #CC2ECC #DA5DDA

Accessibility & contrast

On white

6.82
#9A239A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#9A239A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A239A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A239A#FFFFFF#000000##FFFFFF
##9A239A1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02519D
Deuteranopia (green-blind)
#456097
Tritanopia (blue-blind)
#9F375E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a239a;
/* rgb */ color: rgb(154, 35, 154);
/* oklch */ color: oklch(49.7% 0.201 328.1);
Tailwind
colors: {
  custom: {
    50: '#bc6cb8',
    500: '#9a239a',
    950: '#000000',
  },
}
SCSS
$custom: #9a239a;
$custom-light: #bc6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a239a",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 300,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49696,
    "c": 0.20064,
    "h": 328.1
  },
  "luminance": 0.10405
}

Semantic roles & 50–950 ramp

primary
#9A239A
secondary
#5ABF5A
accent
#E64242
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A239A

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

Preview Lab → · Contrast checker → · Palette generator →

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