#9B239A#9B239A

#9B239A is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 49.9% C 0.201 H 328.5°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9B239A
RGBrgb(155, 35, 154)
HSLhsl(301, 63%, 37%)
HSVhsv(301, 77%, 61%)
CMYKcmyk(0%, 77.4%, 0.6%, 39.2%)
CIE-LABlab(38.73, 61.23, -37.97)
CIE-LCHlch(38.73, 72.04, 328.20°)
OKLaboklab(49.85% 0.1714 -0.1052)
OKLCHoklch(49.85% 0.201 328.5)
XYZxyz(19.9511, 10.5052, 31.5425)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B239A #239B24
analogous
#60239B #9B239A #9B235E
triadic
#9B239A #9A9B23 #239A9B
tetradic
#9B239A #9B6023 #239B24 #235E9B
square
#9B239A #9B6023 #239B24 #235E9B
split-complementary
#9B239A #5E9B23 #239B60
monochromatic
#370C37 #691868 #9B239A #CD2ECC #DB5EDA

Accessibility & contrast

On white

6.77
#9B239A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9B239A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B239A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B239A#FFFFFF#000000##FFFFFF
##9B239A1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05519D
Deuteranopia (green-blind)
#466197
Tritanopia (blue-blind)
#A0375E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b239a;
/* rgb */ color: rgb(155, 35, 154);
/* oklch */ color: oklch(49.9% 0.201 328.5);
Tailwind
colors: {
  custom: {
    50: '#bc6db8',
    500: '#9b239a',
    950: '#000000',
  },
}
SCSS
$custom: #9b239a;
$custom-light: #bc6db8;
$custom-dark: #000000;
JSON
{
  "hex": "#9b239a",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 300.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49852,
    "c": 0.20111,
    "h": 328.5
  },
  "luminance": 0.10504
}

Semantic roles & 50–950 ramp

primary
#9B239A
secondary
#5ABF5B
accent
#E64342
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B239A

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

Preview Lab → · Contrast checker → · Palette generator →

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