#9B239B#9B239B

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

Color values

HEX#9B239B
RGBrgb(155, 35, 155)
HSLhsl(300, 63%, 37%)
HSVhsv(300, 77%, 61%)
CMYKcmyk(0%, 77.4%, 0%, 39.2%)
CIE-LABlab(38.79, 61.39, -38.48)
CIE-LCHlch(38.79, 72.46, 327.92°)
OKLaboklab(49.91% 0.1714 -0.1067)
OKLCHoklch(49.91% 0.202 328.1)
XYZxyz(20.0348, 10.5387, 31.9829)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B239B #239B23
analogous
#5F239B #9B239B #9B235F
triadic
#9B239B #9B9B23 #239B9B
tetradic
#9B239B #9B5F23 #239B23 #235F9B
square
#9B239B #9B5F23 #239B23 #235F9B
split-complementary
#9B239B #5F9B23 #239B5F
monochromatic
#370C37 #691869 #9B239B #CD2ECD #DB5EDB

Accessibility & contrast

On white

6.76
#9B239B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B239B
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B239B#FFFFFF#000000##FFFFFF
##9B239B1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02519E
Deuteranopia (green-blind)
#456198
Tritanopia (blue-blind)
#A0375E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9b239b;
/* rgb */ color: rgb(155, 35, 155);
/* oklch */ color: oklch(49.9% 0.202 328.1);
Tailwind
colors: {
  custom: {
    50: '#bc6db9',
    500: '#9b239b',
    950: '#000000',
  },
}
SCSS
$custom: #9b239b;
$custom-light: #bc6db9;
$custom-dark: #000000;
JSON
{
  "hex": "#9b239b",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 300,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49912,
    "c": 0.20187,
    "h": 328.1
  },
  "luminance": 0.10537
}

Semantic roles & 50–950 ramp

primary
#9B239B
secondary
#5ABF5A
accent
#E64242
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B239B

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

Preview Lab → · Contrast checker → · Palette generator →

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