#9B2CA8#9B2CA8

#9B2CA8 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.4% C 0.203 H 323.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9B2CA8
RGBrgb(155, 44, 168)
HSLhsl(294, 58%, 42%)
HSVhsv(294, 74%, 66%)
CMYKcmyk(7.7%, 73.8%, 0%, 34.1%)
CIE-LABlab(40.57, 60.74, -43.45)
CIE-LCHlch(40.57, 74.69, 324.42°)
OKLaboklab(51.43% 0.1628 -0.1213)
OKLCHoklch(51.43% 0.203 323.3)
XYZxyz(21.4855, 11.5984, 38.1452)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CA8 #39A82C
analogous
#5D2CA8 #9B2CA8 #A82C77
triadic
#9B2CA8 #A89B2C #2CA89B
tetradic
#9B2CA8 #A85D2C #39A82C #2C77A8
square
#9B2CA8 #A85D2C #39A82C #2C77A8
split-complementary
#9B2CA8 #77A82C #2CA85D
monochromatic
#421347 #6E1F78 #9B2CA8 #BF43CE #D074DB

Accessibility & contrast

On white

6.33
#9B2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2CA8
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CA8#FFFFFF#000000##FFFFFF
##9B2CA81.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4164A5
Tritanopia (blue-blind)
#9E4368
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9b2ca8;
/* rgb */ color: rgb(155, 44, 168);
/* oklch */ color: oklch(51.4% 0.203 323.3);
Tailwind
colors: {
  custom: {
    50: '#bc71c2',
    500: '#9b2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ca8;
$custom-light: #bc71c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ca8",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 293.71,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51427,
    "c": 0.20301,
    "h": 323.3
  },
  "luminance": 0.11597
}

Semantic roles & 50–950 ramp

primary
#9B2CA8
secondary
#77C26E
accent
#E24656
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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