#9B2EA6#9B2EA6

#9B2EA6 is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.5% C 0.199 H 323.9°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9B2EA6
RGBrgb(155, 46, 166)
HSLhsl(295, 57%, 42%)
HSVhsv(295, 72%, 65%)
CMYKcmyk(6.6%, 72.3%, 0%, 34.9%)
CIE-LABlab(40.70, 59.68, -42.06)
CIE-LCHlch(40.70, 73.01, 324.83°)
OKLaboklab(51.48% 0.161 -0.1172)
OKLCHoklch(51.48% 0.199 323.9)
XYZxyz(21.3769, 11.6770, 37.1969)
Luminance0.1168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EA6 #39A62E
analogous
#5F2EA6 #9B2EA6 #A62E75
triadic
#9B2EA6 #A69B2E #2EA69B
tetradic
#9B2EA6 #A65F2E #39A62E #2E75A6
square
#9B2EA6 #A65F2E #39A62E #2E75A6
split-complementary
#9B2EA6 #75A62E #2EA65F
monochromatic
#421346 #6E2176 #9B2EA6 #BF46CC #D076D9

Accessibility & contrast

On white

6.30
#9B2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9B2EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EA6
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EA6#FFFFFF#000000##FFFFFF
##9B2EA61.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0258A9
Deuteranopia (green-blind)
#4464A3
Tritanopia (blue-blind)
#9E4367
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2ea6;
/* rgb */ color: rgb(155, 46, 166);
/* oklch */ color: oklch(51.5% 0.199 323.9);
Tailwind
colors: {
  custom: {
    50: '#bc72c1',
    500: '#9b2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ea6;
$custom-light: #bc72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ea6",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 294.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5148,
    "c": 0.19912,
    "h": 323.9
  },
  "luminance": 0.11676
}

Semantic roles & 50–950 ramp

primary
#9B2EA6
secondary
#77C16F
accent
#E04856
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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