#9B2E8D#9B2E8D

#9B2E8D is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.0% C 0.179 H 333.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9B2E8D
RGBrgb(155, 46, 141)
HSLhsl(308, 54%, 39%)
HSVhsv(308, 70%, 61%)
CMYKcmyk(0%, 70.3%, 9%, 39.2%)
CIE-LABlab(39.32, 55.44, -29.13)
CIE-LCHlch(39.32, 62.63, 332.28°)
OKLaboklab(50.04% 0.1603 -0.0797)
OKLCHoklch(50.04% 0.179 333.6)
XYZxyz(19.3024, 10.8472, 26.2712)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E8D #2E9B3C
analogous
#722E9B #9B2E8D #9B2E57
triadic
#9B2E8D #8D9B2E #2E8D9B
tetradic
#9B2E8D #9B722E #2E9B3C #2E579B
square
#9B2E8D #9B722E #2E9B3C #2E579B
split-complementary
#9B2E8D #579B2E #2E9B72
monochromatic
#3D1237 #6C2062 #9B2E8D #C640B5 #D46FC7

Accessibility & contrast

On white

6.63
#9B2E8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9B2E8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E8D
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E8D#FFFFFF#000000##FFFFFF
##9B2E8D1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5390
Deuteranopia (green-blind)
#51628A
Tritanopia (blue-blind)
#A2385A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2e8d;
/* rgb */ color: rgb(155, 46, 141);
/* oklch */ color: oklch(50.0% 0.179 333.6);
Tailwind
colors: {
  custom: {
    50: '#bc71ae',
    500: '#9b2e8d',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e8d;
$custom-light: #bc71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e8d",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 307.706,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50045,
    "c": 0.17905,
    "h": 333.6
  },
  "luminance": 0.10846
}

Semantic roles & 50–950 ramp

primary
#9B2E8D
secondary
#69BC74
accent
#DE5D4A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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