#9B239C#9B239C

#9B239C is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.203 H 327.7°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9B239C
RGBrgb(155, 35, 156)
HSLhsl(300, 63%, 37%)
HSVhsv(300, 78%, 61%)
CMYKcmyk(0.6%, 77.6%, 0%, 38.8%)
CIE-LABlab(38.85, 61.56, -38.99)
CIE-LCHlch(38.85, 72.87, 327.65°)
OKLaboklab(49.97% 0.1713 -0.1082)
OKLCHoklch(49.97% 0.203 327.7)
XYZxyz(20.1191, 10.5724, 32.4271)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B239C #249C23
analogous
#5E239C #9B239C #9C2361
triadic
#9B239C #9C9B23 #239C9B
tetradic
#9B239C #9C5E23 #249C23 #23619C
square
#9B239C #9C5E23 #249C23 #23619C
split-complementary
#9B239C #619C23 #239C5E
monochromatic
#380D38 #69186A #9B239C #CD2ECE #DA5EDB

Accessibility & contrast

On white

6.74
#9B239C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9B239C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B239C
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B239C#FFFFFF#000000##FFFFFF
##9B239C1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00529F
Deuteranopia (green-blind)
#456199
Tritanopia (blue-blind)
#A0385F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b239c;
/* rgb */ color: rgb(155, 35, 156);
/* oklch */ color: oklch(50.0% 0.203 327.7);
Tailwind
colors: {
  custom: {
    50: '#bc6dba',
    500: '#9b239c',
    950: '#000000',
  },
}
SCSS
$custom: #9b239c;
$custom-light: #bc6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9b239c",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 299.504,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49972,
    "c": 0.20264,
    "h": 327.7
  },
  "luminance": 0.10571
}

Semantic roles & 50–950 ramp

primary
#9B239C
secondary
#5CC05B
accent
#E64143
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B239C

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

Preview Lab → · Contrast checker → · Palette generator →

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