#9B2EAC#9B2EAC

#9B2EAC is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.204 H 321.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9B2EAC
RGBrgb(155, 46, 172)
HSLhsl(292, 58%, 43%)
HSVhsv(292, 73%, 67%)
CMYKcmyk(9.9%, 73.3%, 0%, 32.5%)
CIE-LABlab(41.06, 60.77, -45.05)
CIE-LCHlch(41.06, 75.65, 323.45°)
OKLaboklab(51.86% 0.1607 -0.126)
OKLCHoklch(51.86% 0.204 321.9)
XYZxyz(21.9402, 11.9023, 40.1635)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EAC #3FAC2E
analogous
#5C2EAC #9B2EAC #AC2E7E
triadic
#9B2EAC #AC9B2E #2EAC9B
tetradic
#9B2EAC #AC5C2E #3FAC2E #2E7EAC
square
#9B2EAC #AC5C2E #3FAC2E #2E7EAC
split-complementary
#9B2EAC #7EAC2E #2EAC5C
monochromatic
#44144B #6F217C #9B2EAC #BC49CE #CE79DB

Accessibility & contrast

On white

6.21
#9B2EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9B2EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EAC
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EAC#FFFFFF#000000##FFFFFF
##9B2EAC1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#3F65A9
Tritanopia (blue-blind)
#9D466B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2eac;
/* rgb */ color: rgb(155, 46, 172);
/* oklch */ color: oklch(51.9% 0.204 321.9);
Tailwind
colors: {
  custom: {
    50: '#bc72c5',
    500: '#9b2eac',
    950: '#000000',
  },
}
SCSS
$custom: #9b2eac;
$custom-light: #bc72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2eac",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 291.905,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51855,
    "c": 0.20416,
    "h": 321.9
  },
  "luminance": 0.11901
}

Semantic roles & 50–950 ramp

primary
#9B2EAC
secondary
#7DC372
accent
#E1475C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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