#9B2EA0#9B2EA0

#9B2EA0 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.194 H 326.1°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9B2EA0
RGBrgb(155, 46, 160)
HSLhsl(297, 55%, 40%)
HSVhsv(297, 71%, 63%)
CMYKcmyk(3.1%, 71.2%, 0%, 37.3%)
CIE-LABlab(40.35, 58.62, -39.02)
CIE-LCHlch(40.35, 70.42, 326.35°)
OKLaboklab(51.12% 0.1611 -0.1084)
OKLCHoklch(51.12% 0.194 326.1)
XYZxyz(20.8393, 11.4620, 34.3657)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EA0 #33A02E
analogous
#622EA0 #9B2EA0 #A02E6C
triadic
#9B2EA0 #A09B2E #2EA09B
tetradic
#9B2EA0 #A0622E #33A02E #2E6CA0
square
#9B2EA0 #A0622E #33A02E #2E6CA0
split-complementary
#9B2EA0 #6CA02E #2EA062
monochromatic
#3F1341 #6D2070 #9B2EA0 #C342C9 #D272D6

Accessibility & contrast

On white

6.38
#9B2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9B2EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EA0
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EA0#FFFFFF#000000##FFFFFF
##9B2EA01.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1356A3
Deuteranopia (green-blind)
#47649D
Tritanopia (blue-blind)
#9F4064
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2ea0;
/* rgb */ color: rgb(155, 46, 160);
/* oklch */ color: oklch(51.1% 0.194 326.1);
Tailwind
colors: {
  custom: {
    50: '#bc71bc',
    500: '#9b2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ea0;
$custom-light: #bc71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ea0",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 297.368,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51116,
    "c": 0.19415,
    "h": 326.1
  },
  "luminance": 0.11461
}

Semantic roles & 50–950 ramp

primary
#9B2EA0
secondary
#6FBE6C
accent
#DF4950
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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