#9B2F9F#9B2F9F

#9B2F9F is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.192 H 326.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9B2F9F
RGBrgb(155, 47, 159)
HSLhsl(298, 54%, 40%)
HSVhsv(298, 70%, 62%)
CMYKcmyk(2.5%, 70.4%, 0%, 37.6%)
CIE-LABlab(40.42, 58.08, -38.30)
CIE-LCHlch(40.42, 69.57, 326.59°)
OKLaboklab(51.15% 0.1601 -0.1063)
OKLCHoklch(51.15% 0.192 326.4)
XYZxyz(20.7917, 11.5062, 33.9200)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F9F #339F2F
analogous
#632F9F #9B2F9F #9F2F6B
triadic
#9B2F9F #9F9B2F #2F9F9B
tetradic
#9B2F9F #9F632F #339F2F #2F6B9F
square
#9B2F9F #9F632F #339F2F #2F6B9F
split-complementary
#9B2F9F #6B9F2F #2F9F63
monochromatic
#3F1341 #6D2170 #9B2F9F #C344C8 #D273D6

Accessibility & contrast

On white

6.36
#9B2F9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9B2F9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F9F
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F9F#FFFFFF#000000##FFFFFF
##9B2F9F1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1757A2
Deuteranopia (green-blind)
#49649C
Tritanopia (blue-blind)
#9F4064
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2f9f;
/* rgb */ color: rgb(155, 47, 159);
/* oklch */ color: oklch(51.1% 0.192 326.4);
Tailwind
colors: {
  custom: {
    50: '#bc72bc',
    500: '#9b2f9f',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f9f;
$custom-light: #bc72bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f9f",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 159
  },
  "hsl": {
    "h": 297.857,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5115,
    "c": 0.19214,
    "h": 326.4
  },
  "luminance": 0.11505
}

Semantic roles & 50–950 ramp

primary
#9B2F9F
secondary
#6FBD6D
accent
#DE4A4F
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2F9F

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

Preview Lab → · Contrast checker → · Palette generator →

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