#9B2EA4#9B2EA4

#9B2EA4 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.197 H 324.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9B2EA4
RGBrgb(155, 46, 164)
HSLhsl(295, 56%, 41%)
HSVhsv(295, 72%, 64%)
CMYKcmyk(5.5%, 72%, 0%, 35.7%)
CIE-LABlab(40.58, 59.32, -41.05)
CIE-LCHlch(40.58, 72.14, 325.32°)
OKLaboklab(51.36% 0.161 -0.1143)
OKLCHoklch(51.36% 0.197 324.6)
XYZxyz(21.1949, 11.6042, 36.2382)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EA4 #37A42E
analogous
#602EA4 #9B2EA4 #A42E72
triadic
#9B2EA4 #A49B2E #2EA49B
tetradic
#9B2EA4 #A4602E #37A42E #2E72A4
square
#9B2EA4 #A4602E #37A42E #2E72A4
split-complementary
#9B2EA4 #72A42E #2EA460
monochromatic
#411344 #6E2174 #9B2EA4 #C045CB #D074D8

Accessibility & contrast

On white

6.32
#9B2EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9B2EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EA4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EA4#FFFFFF#000000##FFFFFF
##9B2EA41.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0957A7
Deuteranopia (green-blind)
#4564A1
Tritanopia (blue-blind)
#9E4266
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2ea4;
/* rgb */ color: rgb(155, 46, 164);
/* oklch */ color: oklch(51.4% 0.197 324.6);
Tailwind
colors: {
  custom: {
    50: '#bc71bf',
    500: '#9b2ea4',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ea4;
$custom-light: #bc71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ea4",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 295.424,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51357,
    "c": 0.19745,
    "h": 324.6
  },
  "luminance": 0.11603
}

Semantic roles & 50–950 ramp

primary
#9B2EA4
secondary
#74C06E
accent
#DF4854
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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