#9B2E9E#9B2E9E

#9B2E9E is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.193 H 326.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9B2E9E
RGBrgb(155, 46, 158)
HSLhsl(298, 55%, 40%)
HSVhsv(298, 71%, 62%)
CMYKcmyk(1.9%, 70.9%, 0%, 38%)
CIE-LABlab(40.23, 58.27, -38.00)
CIE-LCHlch(40.23, 69.57, 326.89°)
OKLaboklab(51% 0.1611 -0.1054)
OKLCHoklch(51% 0.193 326.8)
XYZxyz(20.6658, 11.3926, 33.4516)
Luminance0.1139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2E9E #319E2E
analogous
#632E9E #9B2E9E #9E2E69
triadic
#9B2E9E #9E9B2E #2E9E9B
tetradic
#9B2E9E #9E632E #319E2E #2E699E
square
#9B2E9E #9E632E #319E2E #2E699E
split-complementary
#9B2E9E #699E2E #2E9E63
monochromatic
#3E123F #6D206F #9B2E9E #C441C8 #D371D6

Accessibility & contrast

On white

6.41
#9B2E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9B2E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2E9E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2E9E#FFFFFF#000000##FFFFFF
##9B2E9E1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2e9e;
/* rgb */ color: rgb(155, 46, 158);
/* oklch */ color: oklch(51.0% 0.193 326.8);
Tailwind
colors: {
  custom: {
    50: '#bc71bb',
    500: '#9b2e9e',
    950: '#000000',
  },
}
SCSS
$custom: #9b2e9e;
$custom-light: #bc71bb;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2e9e",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 298.393,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.50998,
    "c": 0.19251,
    "h": 326.8
  },
  "luminance": 0.11391
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B2E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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