#9B2F8F#9B2F8F

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

Color values

HEX#9B2F8F
RGBrgb(155, 47, 143)
HSLhsl(307, 53%, 40%)
HSVhsv(307, 70%, 61%)
CMYKcmyk(0%, 69.7%, 7.7%, 39.2%)
CIE-LABlab(39.56, 55.38, -29.98)
CIE-LCHlch(39.56, 62.98, 331.57°)
OKLaboklab(50.25% 0.1594 -0.0822)
OKLCHoklch(50.25% 0.179 332.7)
XYZxyz(19.4921, 10.9863, 27.0752)
Luminance0.1099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F8F #2F9B3B
analogous
#712F9B #9B2F8F #9B2F59
triadic
#9B2F8F #8F9B2F #2F8F9B
tetradic
#9B2F8F #9B712F #2F9B3B #2F599B
square
#9B2F8F #9B712F #2F9B3B #2F599B
split-complementary
#9B2F8F #599B2F #2F9B71
monochromatic
#3D1338 #6C2164 #9B2F8F #C642B7 #D471C9

Accessibility & contrast

On white

6.57
#9B2F8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9B2F8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F8F
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F8F#FFFFFF#000000##FFFFFF
##9B2F8F1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#51638C
Tritanopia (blue-blind)
#A2395B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2f8f;
/* rgb */ color: rgb(155, 47, 143);
/* oklch */ color: oklch(50.2% 0.179 332.7);
Tailwind
colors: {
  custom: {
    50: '#bc71b0',
    500: '#9b2f8f',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f8f;
$custom-light: #bc71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f8f",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 143
  },
  "hsl": {
    "h": 306.667,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50249,
    "c": 0.17934,
    "h": 332.7
  },
  "luminance": 0.10985
}

Semantic roles & 50–950 ramp

primary
#9B2F8F
secondary
#6ABB73
accent
#DD5B4B
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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