#9B2E8F#9B2E8F

#9B2E8F is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.2% C 0.181 H 332.7°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#9B2E8F
RGBrgb(155, 46, 143)
HSLhsl(307, 54%, 39%)
HSVhsv(307, 70%, 61%)
CMYKcmyk(0%, 70.3%, 7.7%, 39.2%)
CIE-LABlab(39.42, 55.76, -30.19)
CIE-LCHlch(39.42, 63.41, 331.57°)
OKLaboklab(50.15% 0.1605 -0.0828)
OKLCHoklch(50.15% 0.181 332.7)
XYZxyz(19.4526, 10.9073, 27.0621)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E8F #2E9B3A
analogous
#712E9B #9B2E8F #9B2E58
triadic
#9B2E8F #8F9B2E #2E8F9B
tetradic
#9B2E8F #9B712E #2E9B3A #2E589B
square
#9B2E8F #9B712E #2E9B3A #2E589B
split-complementary
#9B2E8F #589B2E #2E9B71
monochromatic
#3D1238 #6C2063 #9B2E8F #C640B7 #D46FC9

Accessibility & contrast

On white

6.60
#9B2E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#9B2E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E8F
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E8F#FFFFFF#000000##FFFFFF
##9B2E8F1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295392
Deuteranopia (green-blind)
#51628C
Tritanopia (blue-blind)
#A2395B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2e8f;
/* rgb */ color: rgb(155, 46, 143);
/* oklch */ color: oklch(50.2% 0.181 332.7);
Tailwind
colors: {
  custom: {
    50: '#bc71b0',
    500: '#9b2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e8f;
$custom-light: #bc71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e8f",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 306.606,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50152,
    "c": 0.18058,
    "h": 332.7
  },
  "luminance": 0.10906
}

Semantic roles & 50–950 ramp

primary
#9B2E8F
secondary
#69BC72
accent
#DE5A4A
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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