#9A239B#9A239B

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

Color values

HEX#9A239B
RGBrgb(154, 35, 155)
HSLhsl(300, 63%, 37%)
HSVhsv(300, 77%, 61%)
CMYKcmyk(0.6%, 77.4%, 0%, 39.2%)
CIE-LABlab(38.62, 61.18, -38.76)
CIE-LCHlch(38.62, 72.43, 327.64°)
OKLaboklab(49.76% 0.1703 -0.1076)
OKLCHoklch(49.76% 0.201 327.7)
XYZxyz(19.8436, 10.4401, 31.9740)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A239B #249B23
analogous
#5E239B #9A239B #9B2360
triadic
#9A239B #9B9A23 #239B9A
tetradic
#9A239B #9B5E23 #249B23 #23609B
square
#9A239B #9B5E23 #249B23 #23609B
split-complementary
#9A239B #609B23 #239B5E
monochromatic
#370C37 #681869 #9A239B #CC2ECD #DA5EDB

Accessibility & contrast

On white

6.80
#9A239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A239B
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A239B#FFFFFF#000000##FFFFFF
##9A239B1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#446098
Tritanopia (blue-blind)
#9F375E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9a239b;
/* rgb */ color: rgb(154, 35, 155);
/* oklch */ color: oklch(49.8% 0.201 327.7);
Tailwind
colors: {
  custom: {
    50: '#bc6cb9',
    500: '#9a239b',
    950: '#000000',
  },
}
SCSS
$custom: #9a239b;
$custom-light: #bc6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#9a239b",
  "rgb": {
    "r": 154,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 299.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49757,
    "c": 0.20141,
    "h": 327.7
  },
  "luminance": 0.10439
}

Semantic roles & 50–950 ramp

primary
#9A239B
secondary
#5BBF5A
accent
#E64243
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #9A239B

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

Preview Lab → · Contrast checker → · Palette generator →

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