#9B2E89#9B2E89

#9B2E89 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.8% C 0.176 H 335.3°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9B2E89
RGBrgb(155, 46, 137)
HSLhsl(310, 54%, 39%)
HSVhsv(310, 70%, 61%)
CMYKcmyk(0%, 70.3%, 11.6%, 39.2%)
CIE-LABlab(39.12, 54.81, -26.99)
CIE-LCHlch(39.12, 61.09, 333.78°)
OKLaboklab(49.84% 0.1599 -0.0736)
OKLCHoklch(49.84% 0.176 335.3)
XYZxyz(19.0101, 10.7303, 24.7320)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E89 #2E9B40
analogous
#772E9B #9B2E89 #9B2E53
triadic
#9B2E89 #899B2E #2E899B
tetradic
#9B2E89 #9B772E #2E9B40 #2E539B
square
#9B2E89 #9B772E #2E9B40 #2E539B
split-complementary
#9B2E89 #539B2E #2E9B77
monochromatic
#3D1236 #6C205F #9B2E89 #C640B0 #D46FC4

Accessibility & contrast

On white

6.68
#9B2E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2E89
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E89#FFFFFF#000000##FFFFFF
##9B2E891.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2e89;
/* rgb */ color: rgb(155, 46, 137);
/* oklch */ color: oklch(49.8% 0.176 335.3);
Tailwind
colors: {
  custom: {
    50: '#bc70ab',
    500: '#9b2e89',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e89;
$custom-light: #bc70ab;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e89",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 309.908,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.17604,
    "h": 335.3
  },
  "luminance": 0.10729
}

Semantic roles & 50–950 ramp

primary
#9B2E89
secondary
#69BC77
accent
#DE634A
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2E89

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

Preview Lab → · Contrast checker → · Palette generator →

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