#9B2DA5#9B2DA5

#9B2DA5 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.199 H 324.3°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#9B2DA5
RGBrgb(155, 45, 165)
HSLhsl(295, 57%, 41%)
HSVhsv(295, 73%, 65%)
CMYKcmyk(6.1%, 72.7%, 0%, 35.3%)
CIE-LABlab(40.51, 59.86, -41.75)
CIE-LCHlch(40.51, 72.98, 325.10°)
OKLaboklab(51.33% 0.162 -0.1163)
OKLCHoklch(51.33% 0.199 324.3)
XYZxyz(21.2469, 11.5633, 36.7028)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DA5 #37A52D
analogous
#5F2DA5 #9B2DA5 #A52D73
triadic
#9B2DA5 #A59B2D #2DA59B
tetradic
#9B2DA5 #A55F2D #37A52D #2D73A5
square
#9B2DA5 #A55F2D #37A52D #2D73A5
split-complementary
#9B2DA5 #73A52D #2DA55F
monochromatic
#411345 #6E2075 #9B2DA5 #C043CC #D073D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9B2DA5#FFFFFF#000000##FFFFFF
##9B2DA51.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)
#0157A8
Deuteranopia (green-blind)
#4464A2
Tritanopia (blue-blind)
#9E4266
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2da5;
/* rgb */ color: rgb(155, 45, 165);
/* oklch */ color: oklch(51.3% 0.199 324.3);
Tailwind
colors: {
  custom: {
    50: '#bc71c0',
    500: '#9b2da5',
    950: '#000000',
  },
}
SCSS
$custom: #9b2da5;
$custom-light: #bc71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2da5",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 295,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51328,
    "c": 0.19943,
    "h": 324.3
  },
  "luminance": 0.11562
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9B2DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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