#9B2F8A#9B2F8A

#9B2F8A is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.0% C 0.176 H 334.9°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9B2F8A
RGBrgb(155, 47, 138)
HSLhsl(309, 53%, 40%)
HSVhsv(309, 70%, 61%)
CMYKcmyk(0%, 69.7%, 11%, 39.2%)
CIE-LABlab(39.31, 54.59, -27.32)
CIE-LCHlch(39.31, 61.04, 333.42°)
OKLaboklab(49.99% 0.1589 -0.0746)
OKLCHoklch(49.99% 0.176 334.9)
XYZxyz(19.1217, 10.8382, 25.1247)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F8A #2F9B40
analogous
#762F9B #9B2F8A #9B2F54
triadic
#9B2F8A #8A9B2F #2F8A9B
tetradic
#9B2F8A #9B762F #2F9B40 #2F549B
square
#9B2F8A #9B762F #2F9B40 #2F549B
split-complementary
#9B2F8A #549B2F #2F9B76
monochromatic
#3D1336 #6C2160 #9B2F8A #C642B1 #D471C4

Accessibility & contrast

On white

6.63
#9B2F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9B2F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F8A
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F8A#FFFFFF#000000##FFFFFF
##9B2F8A1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E528D
Deuteranopia (green-blind)
#536287
Tritanopia (blue-blind)
#A33758
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9b2f8a;
/* rgb */ color: rgb(155, 47, 138);
/* oklch */ color: oklch(50.0% 0.176 334.9);
Tailwind
colors: {
  custom: {
    50: '#bc71ac',
    500: '#9b2f8a',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f8a;
$custom-light: #bc71ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f8a",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 309.444,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49986,
    "c": 0.17552,
    "h": 334.9
  },
  "luminance": 0.10837
}

Semantic roles & 50–950 ramp

primary
#9B2F8A
secondary
#6ABB77
accent
#DD624B
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #9B2F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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