#9B2AA8#9B2AA8

#9B2AA8 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.205 H 323.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9B2AA8
RGBrgb(155, 42, 168)
HSLhsl(294, 60%, 41%)
HSVhsv(294, 75%, 66%)
CMYKcmyk(7.7%, 75%, 0%, 34.1%)
CIE-LABlab(40.33, 61.42, -43.83)
CIE-LCHlch(40.33, 75.46, 324.49°)
OKLaboklab(51.26% 0.1647 -0.1224)
OKLCHoklch(51.26% 0.205 323.4)
XYZxyz(21.4128, 11.4529, 38.1210)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2AA8 #37A82A
analogous
#5C2AA8 #9B2AA8 #A82A76
triadic
#9B2AA8 #A89B2A #2AA89B
tetradic
#9B2AA8 #A85C2A #37A82A #2A76A8
square
#9B2AA8 #A85C2A #37A82A #2A76A8
split-complementary
#9B2AA8 #76A82A #2AA85C
monochromatic
#411246 #6E1E77 #9B2AA8 #C040CF #D071DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B2AA8#FFFFFF#000000##FFFFFF
##9B2AA81.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)
#0057AB
Deuteranopia (green-blind)
#4063A5
Tritanopia (blue-blind)
#9E4167
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2aa8;
/* rgb */ color: rgb(155, 42, 168);
/* oklch */ color: oklch(51.3% 0.205 323.4);
Tailwind
colors: {
  custom: {
    50: '#bc70c2',
    500: '#9b2aa8',
    950: '#000000',
  },
}
SCSS
$custom: #9b2aa8;
$custom-light: #bc70c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2aa8",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 293.81,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51258,
    "c": 0.20516,
    "h": 323.4
  },
  "luminance": 0.11452
}

Semantic roles & 50–950 ramp

primary
#9B2AA8
secondary
#74C36B
accent
#E34555
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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