#9B2F99#9B2F99

#9B2F99 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.8% C 0.187 H 328.7°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9B2F99
RGBrgb(155, 47, 153)
HSLhsl(301, 53%, 40%)
HSVhsv(301, 70%, 61%)
CMYKcmyk(0%, 69.7%, 1.3%, 39.2%)
CIE-LABlab(40.09, 57.04, -35.22)
CIE-LCHlch(40.09, 67.04, 328.31°)
OKLaboklab(50.8% 0.16 -0.0973)
OKLCHoklch(50.8% 0.187 328.7)
XYZxyz(20.2836, 11.3030, 31.2442)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F99 #2F9B31
analogous
#672F9B #9B2F99 #9B2F63
triadic
#9B2F99 #999B2F #2F999B
tetradic
#9B2F99 #9B672F #2F9B31 #2F639B
square
#9B2F99 #9B672F #2F9B31 #2F639B
split-complementary
#9B2F99 #639B2F #2F9B67
monochromatic
#3D133C #6C216B #9B2F99 #C642C3 #D471D2

Accessibility & contrast

On white

6.44
#9B2F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9B2F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F99
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F99#FFFFFF#000000##FFFFFF
##9B2F991.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20559C
Deuteranopia (green-blind)
#4C6396
Tritanopia (blue-blind)
#A03E60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b2f99;
/* rgb */ color: rgb(155, 47, 153);
/* oklch */ color: oklch(50.8% 0.187 328.7);
Tailwind
colors: {
  custom: {
    50: '#bc72b7',
    500: '#9b2f99',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f99;
$custom-light: #bc72b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f99",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 301.111,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50802,
    "c": 0.18725,
    "h": 328.7
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#9B2F99
secondary
#6ABB6C
accent
#DD4E4B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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