#9B2F9E#9B2F9E

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

Color values

HEX#9B2F9E
RGBrgb(155, 47, 158)
HSLhsl(298, 54%, 40%)
HSVhsv(298, 70%, 62%)
CMYKcmyk(1.9%, 70.3%, 0%, 38%)
CIE-LABlab(40.36, 57.90, -37.79)
CIE-LCHlch(40.36, 69.15, 326.87°)
OKLaboklab(51.09% 0.1601 -0.1048)
OKLCHoklch(51.09% 0.191 326.8)
XYZxyz(20.7053, 11.4716, 33.4648)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2F9E #329E2F
analogous
#632F9E #9B2F9E #9E2F6A
triadic
#9B2F9E #9E9B2F #2F9E9B
tetradic
#9B2F9E #9E632F #329E2F #2F6A9E
square
#9B2F9E #9E632F #329E2F #2F6A9E
split-complementary
#9B2F9E #6A9E2F #2F9E63
monochromatic
#3E1340 #6D216F #9B2F9E #C443C7 #D272D5

Accessibility & contrast

On white

6.38
#9B2F9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9B2F9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2F9E
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2F9E#FFFFFF#000000##FFFFFF
##9B2F9E1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1956A1
Deuteranopia (green-blind)
#49649B
Tritanopia (blue-blind)
#9F4063
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2f9e;
/* rgb */ color: rgb(155, 47, 158);
/* oklch */ color: oklch(51.1% 0.191 326.8);
Tailwind
colors: {
  custom: {
    50: '#bc72bb',
    500: '#9b2f9e',
    950: '#000000',
  },
}
SCSS
$custom: #9b2f9e;
$custom-light: #bc72bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2f9e",
  "rgb": {
    "r": 155,
    "g": 47,
    "b": 158
  },
  "hsl": {
    "h": 298.378,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51091,
    "c": 0.19133,
    "h": 326.8
  },
  "luminance": 0.1147
}

Semantic roles & 50–950 ramp

primary
#9B2F9E
secondary
#6EBD6C
accent
#DE4A4E
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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