#9B239D#9B239D

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

Color values

HEX#9B239D
RGBrgb(155, 35, 157)
HSLhsl(299, 64%, 38%)
HSVhsv(299, 78%, 62%)
CMYKcmyk(1.3%, 77.7%, 0%, 38.4%)
CIE-LABlab(38.91, 61.72, -39.50)
CIE-LCHlch(38.91, 73.28, 327.38°)
OKLaboklab(50.03% 0.1713 -0.1097)
OKLCHoklch(50.03% 0.203 327.4)
XYZxyz(20.2041, 10.6064, 32.8748)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B239D #259D23
analogous
#5E239D #9B239D #9D2362
triadic
#9B239D #9D9B23 #239D9B
tetradic
#9B239D #9D5E23 #259D23 #23629D
square
#9B239D #9D5E23 #259D23 #23629D
split-complementary
#9B239D #629D23 #239D5E
monochromatic
#380D39 #6A186B #9B239D #CC2ECF #D95FDB

Accessibility & contrast

On white

6.73
#9B239D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9B239D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B239D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B239D#FFFFFF#000000##FFFFFF
##9B239D1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A0
Deuteranopia (green-blind)
#44619A
Tritanopia (blue-blind)
#A0385F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b239d;
/* rgb */ color: rgb(155, 35, 157);
/* oklch */ color: oklch(50.0% 0.203 327.4);
Tailwind
colors: {
  custom: {
    50: '#bc6dba',
    500: '#9b239d',
    950: '#000000',
  },
}
SCSS
$custom: #9b239d;
$custom-light: #bc6dba;
$custom-dark: #000000;
JSON
{
  "hex": "#9b239d",
  "rgb": {
    "r": 155,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 299.016,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50033,
    "c": 0.2034,
    "h": 327.4
  },
  "luminance": 0.10605
}

Semantic roles & 50–950 ramp

primary
#9B239D
secondary
#5DC05C
accent
#E74144
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B239D

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

Preview Lab → · Contrast checker → · Palette generator →

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