#9B2CA6#9B2CA6

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

Color values

HEX#9B2CA6
RGBrgb(155, 44, 166)
HSLhsl(295, 58%, 41%)
HSVhsv(295, 73%, 65%)
CMYKcmyk(6.6%, 73.5%, 0%, 34.9%)
CIE-LABlab(40.45, 60.39, -42.45)
CIE-LCHlch(40.45, 73.82, 324.89°)
OKLaboklab(51.3% 0.1629 -0.1183)
OKLCHoklch(51.3% 0.201 324)
XYZxyz(21.3006, 11.5244, 37.1715)
Luminance0.1152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CA6 #37A62C
analogous
#5E2CA6 #9B2CA6 #A62C74
triadic
#9B2CA6 #A69B2C #2CA69B
tetradic
#9B2CA6 #A65E2C #37A62C #2C74A6
square
#9B2CA6 #A65E2C #37A62C #2C74A6
split-complementary
#9B2CA6 #74A62C #2CA65E
monochromatic
#411245 #6E1F76 #9B2CA6 #C042CD #D073DA

Accessibility & contrast

On white

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

On black

3.30
#9B2CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9B2CA6#FFFFFF#000000##FFFFFF
##9B2CA61.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2ca6;
/* rgb */ color: rgb(155, 44, 166);
/* oklch */ color: oklch(51.3% 0.201 324.0);
Tailwind
colors: {
  custom: {
    50: '#bc71c1',
    500: '#9b2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ca6;
$custom-light: #bc71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ca6",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 294.59,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51302,
    "c": 0.20136,
    "h": 324
  },
  "luminance": 0.11523
}

Semantic roles & 50–950 ramp

primary
#9B2CA6
secondary
#74C16D
accent
#E14654
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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