#9B2E97#9B2E97

#9B2E97 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.6% C 0.187 H 329.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9B2E97
RGBrgb(155, 46, 151)
HSLhsl(302, 54%, 39%)
HSVhsv(302, 70%, 61%)
CMYKcmyk(0%, 70.3%, 2.6%, 39.2%)
CIE-LABlab(39.85, 57.08, -34.39)
CIE-LCHlch(39.85, 66.63, 328.93°)
OKLaboklab(50.59% 0.161 -0.0949)
OKLCHoklch(50.59% 0.187 329.5)
XYZxyz(20.0803, 11.1584, 30.3683)
Luminance0.1116 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E97 #2E9B32
analogous
#692E9B #9B2E97 #9B2E61
triadic
#9B2E97 #979B2E #2E979B
tetradic
#9B2E97 #9B692E #2E9B32 #2E619B
square
#9B2E97 #9B692E #2E9B32 #2E619B
split-complementary
#9B2E97 #619B2E #2E9B69
monochromatic
#3D123B #6C2069 #9B2E97 #C640C1 #D46FD1

Accessibility & contrast

On white

6.50
#9B2E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#9B2E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E97
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E97#FFFFFF#000000##FFFFFF
##9B2E971.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21549A
Deuteranopia (green-blind)
#4D6394
Tritanopia (blue-blind)
#A13C5F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9b2e97;
/* rgb */ color: rgb(155, 46, 151);
/* oklch */ color: oklch(50.6% 0.187 329.5);
Tailwind
colors: {
  custom: {
    50: '#bc71b6',
    500: '#9b2e97',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e97;
$custom-light: #bc71b6;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e97",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 302.202,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50593,
    "c": 0.18686,
    "h": 329.5
  },
  "luminance": 0.11157
}

Semantic roles & 50–950 ramp

primary
#9B2E97
secondary
#69BC6C
accent
#DE504A
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9B2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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