#9B2EA9#9B2EA9

#9B2EA9 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.202 H 322.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9B2EA9
RGBrgb(155, 46, 169)
HSLhsl(293, 57%, 42%)
HSVhsv(293, 73%, 66%)
CMYKcmyk(8.3%, 72.8%, 0%, 33.7%)
CIE-LABlab(40.88, 60.22, -43.56)
CIE-LCHlch(40.88, 74.32, 324.12°)
OKLaboklab(51.67% 0.1608 -0.1216)
OKLCHoklch(51.67% 0.202 322.9)
XYZxyz(21.6553, 11.7884, 38.6632)
Luminance0.1179 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EA9 #3CA92E
analogous
#5E2EA9 #9B2EA9 #A92E79
triadic
#9B2EA9 #A99B2E #2EA99B
tetradic
#9B2EA9 #A95E2E #3CA92E #2E79A9
square
#9B2EA9 #A95E2E #3CA92E #2E79A9
split-complementary
#9B2EA9 #79A92E #2EA95E
monochromatic
#431449 #6F2179 #9B2EA9 #BE47CD #CF77DA

Accessibility & contrast

On white

6.25
#9B2EA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9B2EA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EA9
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EA9#FFFFFF#000000##FFFFFF
##9B2EA91.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4165A6
Tritanopia (blue-blind)
#9D4469
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2ea9;
/* rgb */ color: rgb(155, 46, 169);
/* oklch */ color: oklch(51.7% 0.202 322.9);
Tailwind
colors: {
  custom: {
    50: '#bc72c3',
    500: '#9b2ea9',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ea9;
$custom-light: #bc72c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ea9",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 293.171,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51666,
    "c": 0.20163,
    "h": 322.9
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#9B2EA9
secondary
#7AC271
accent
#E04759
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120912
muted
#817B81

Preview Lab

Preview with #9B2EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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