#9B2E8A#9B2E8A

#9B2E8A is a mid, vivid purple. Relative luminance 0.108; OKLCH L 49.9% C 0.177 H 334.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9B2E8A
RGBrgb(155, 46, 138)
HSLhsl(309, 54%, 39%)
HSVhsv(309, 70%, 61%)
CMYKcmyk(0%, 70.3%, 11%, 39.2%)
CIE-LABlab(39.17, 54.96, -27.53)
CIE-LCHlch(39.17, 61.47, 333.40°)
OKLaboklab(49.89% 0.16 -0.0751)
OKLCHoklch(49.89% 0.177 334.8)
XYZxyz(19.0822, 10.7592, 25.1115)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E8A #2E9B3F
analogous
#762E9B #9B2E8A #9B2E54
triadic
#9B2E8A #8A9B2E #2E8A9B
tetradic
#9B2E8A #9B762E #2E9B3F #2E549B
square
#9B2E8A #9B762E #2E9B3F #2E549B
split-complementary
#9B2E8A #549B2E #2E9B76
monochromatic
#3D1236 #6C2060 #9B2E8A #C640B1 #D46FC5

Accessibility & contrast

On white

6.66
#9B2E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9B2E8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E8A
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E8A#FFFFFF#000000##FFFFFF
##9B2E8A1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D528D
Deuteranopia (green-blind)
#536287
Tritanopia (blue-blind)
#A33658
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b2e8a;
/* rgb */ color: rgb(155, 46, 138);
/* oklch */ color: oklch(49.9% 0.177 334.8);
Tailwind
colors: {
  custom: {
    50: '#bc71ac',
    500: '#9b2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e8a;
$custom-light: #bc71ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e8a",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 309.358,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49888,
    "c": 0.17679,
    "h": 334.8
  },
  "luminance": 0.10758
}

Semantic roles & 50–950 ramp

primary
#9B2E8A
secondary
#69BC76
accent
#DE614A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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