#9B2EA2#9B2EA2

#9B2EA2 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.2% C 0.196 H 325.4°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9B2EA2
RGBrgb(155, 46, 162)
HSLhsl(296, 56%, 41%)
HSVhsv(296, 72%, 64%)
CMYKcmyk(4.3%, 71.6%, 0%, 36.5%)
CIE-LABlab(40.46, 58.97, -40.04)
CIE-LCHlch(40.46, 71.28, 325.83°)
OKLaboklab(51.24% 0.1611 -0.1113)
OKLCHoklch(51.24% 0.196 325.4)
XYZxyz(21.0157, 11.5325, 35.2945)
Luminance0.1153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2EA2 #35A22E
analogous
#612EA2 #9B2EA2 #A22E6F
triadic
#9B2EA2 #A29B2E #2EA29B
tetradic
#9B2EA2 #A2612E #35A22E #2E6FA2
square
#9B2EA2 #A2612E #35A22E #2E6FA2
split-complementary
#9B2EA2 #6FA22E #2EA261
monochromatic
#401343 #6D2072 #9B2EA2 #C243CA #D173D7

Accessibility & contrast

On white

6.35
#9B2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9B2EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2EA2
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2EA2#FFFFFF#000000##FFFFFF
##9B2EA21.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F57A5
Deuteranopia (green-blind)
#46649F
Tritanopia (blue-blind)
#9F4165
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2ea2;
/* rgb */ color: rgb(155, 46, 162);
/* oklch */ color: oklch(51.2% 0.196 325.4);
Tailwind
colors: {
  custom: {
    50: '#bc71be',
    500: '#9b2ea2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ea2;
$custom-light: #bc71be;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ea2",
  "rgb": {
    "r": 155,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 296.379,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51236,
    "c": 0.1958,
    "h": 325.4
  },
  "luminance": 0.11531
}

Semantic roles & 50–950 ramp

primary
#9B2EA2
secondary
#72BF6D
accent
#DF4952
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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