#9B2CA5#9B2CA5

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

Color values

HEX#9B2CA5
RGBrgb(155, 44, 165)
HSLhsl(295, 58%, 41%)
HSVhsv(295, 73%, 65%)
CMYKcmyk(6.1%, 73.3%, 0%, 35.3%)
CIE-LABlab(40.39, 60.21, -41.95)
CIE-LCHlch(40.39, 73.38, 325.13°)
OKLaboklab(51.24% 0.163 -0.1169)
OKLCHoklch(51.24% 0.201 324.3)
XYZxyz(21.2092, 11.4879, 36.6903)
Luminance0.1149 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CA5 #36A52C
analogous
#5E2CA5 #9B2CA5 #A52C72
triadic
#9B2CA5 #A59B2C #2CA59B
tetradic
#9B2CA5 #A55E2C #36A52C #2C72A5
square
#9B2CA5 #A55E2C #36A52C #2C72A5
split-complementary
#9B2CA5 #72A52C #2CA55E
monochromatic
#401244 #6E1F75 #9B2CA5 #C142CD #D172D9

Accessibility & contrast

On white

6.37
#9B2CA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2CA5
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CA5#FFFFFF#000000##FFFFFF
##9B2CA51.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A8
Deuteranopia (green-blind)
#4364A2
Tritanopia (blue-blind)
#9E4166
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2ca5;
/* rgb */ color: rgb(155, 44, 165);
/* oklch */ color: oklch(51.2% 0.201 324.3);
Tailwind
colors: {
  custom: {
    50: '#bc71c0',
    500: '#9b2ca5',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ca5;
$custom-light: #bc71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ca5",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 295.041,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51241,
    "c": 0.20053,
    "h": 324.3
  },
  "luminance": 0.11487
}

Semantic roles & 50–950 ramp

primary
#9B2CA5
secondary
#73C16C
accent
#E14753
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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