#9B2CA7#9B2CA7

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

Color values

HEX#9B2CA7
RGBrgb(155, 44, 167)
HSLhsl(294, 58%, 41%)
HSVhsv(294, 74%, 65%)
CMYKcmyk(7.2%, 73.7%, 0%, 34.5%)
CIE-LABlab(40.51, 60.57, -42.95)
CIE-LCHlch(40.51, 74.25, 324.65°)
OKLaboklab(51.37% 0.1629 -0.1198)
OKLCHoklch(51.37% 0.202 323.7)
XYZxyz(21.3927, 11.5613, 37.6565)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CA7 #38A72C
analogous
#5E2CA7 #9B2CA7 #A72C76
triadic
#9B2CA7 #A79B2C #2CA79B
tetradic
#9B2CA7 #A75E2C #38A72C #2C76A7
square
#9B2CA7 #A75E2C #38A72C #2C76A7
split-complementary
#9B2CA7 #76A72C #2CA75E
monochromatic
#411246 #6E1F77 #9B2CA7 #C043CD #D073DA

Accessibility & contrast

On white

6.34
#9B2CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2CA7
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CA7#FFFFFF#000000##FFFFFF
##9B2CA71.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AA
Deuteranopia (green-blind)
#4264A4
Tritanopia (blue-blind)
#9E4267
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2ca7;
/* rgb */ color: rgb(155, 44, 167);
/* oklch */ color: oklch(51.4% 0.202 323.7);
Tailwind
colors: {
  custom: {
    50: '#bc71c2',
    500: '#9b2ca7',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ca7;
$custom-light: #bc71c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ca7",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 294.146,
    "s": 58.294,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51365,
    "c": 0.20218,
    "h": 323.7
  },
  "luminance": 0.1156
}

Semantic roles & 50–950 ramp

primary
#9B2CA7
secondary
#75C26D
accent
#E24655
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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