#9B2F8D#9B2F8D

#9B2F8D is a mid, vivid purple. Relative luminance 0.109; OKLCH L 50.1% C 0.178 H 333.6°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9B2F8D
RGBrgb(155, 47, 141)
HSLhsl(308, 53%, 40%)
HSVhsv(308, 70%, 61%)
CMYKcmyk(0%, 69.7%, 9%, 39.2%)
CIE-LABlab(39.46, 55.06, -28.92)
CIE-LCHlch(39.46, 62.19, 332.29°)
OKLaboklab(50.14% 0.1592 -0.0791)
OKLCHoklch(50.14% 0.178 333.6)
XYZxyz(19.3419, 10.9263, 26.2844)
Luminance0.1092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F8D #2F9B3D
analogous
#732F9B #9B2F8D #9B2F57
triadic
#9B2F8D #8D9B2F #2F8D9B
tetradic
#9B2F8D #9B732F #2F9B3D #2F579B
square
#9B2F8D #9B732F #2F9B3D #2F579B
split-complementary
#9B2F8D #579B2F #2F9B73
monochromatic
#3D1338 #6C2162 #9B2F8D #C642B4 #D471C7

Accessibility & contrast

On white

6.59
#9B2F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#9B2F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F8D
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F8D#FFFFFF#000000##FFFFFF
##9B2F8D1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5390
Deuteranopia (green-blind)
#52638A
Tritanopia (blue-blind)
#A2385A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2f8d;
/* rgb */ color: rgb(155, 47, 141);
/* oklch */ color: oklch(50.1% 0.178 333.6);
Tailwind
colors: {
  custom: {
    50: '#bc71ae',
    500: '#9b2f8d',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f8d;
$custom-light: #bc71ae;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f8d",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 141
  },
  "hsl": {
    "h": 307.778,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50142,
    "c": 0.1778,
    "h": 333.6
  },
  "luminance": 0.10925
}

Semantic roles & 50–950 ramp

primary
#9B2F8D
secondary
#6ABB75
accent
#DD5E4B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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