#9B2CA2#9B2CA2

#9B2CA2 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.198 H 325.4°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9B2CA2
RGBrgb(155, 44, 162)
HSLhsl(296, 57%, 40%)
HSVhsv(296, 73%, 64%)
CMYKcmyk(4.3%, 72.8%, 0%, 36.5%)
CIE-LABlab(40.21, 59.68, -40.43)
CIE-LCHlch(40.21, 72.09, 325.88°)
OKLaboklab(51.06% 0.1631 -0.1125)
OKLCHoklch(51.06% 0.198 325.4)
XYZxyz(20.9394, 11.3799, 35.2691)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CA2 #33A22C
analogous
#602CA2 #9B2CA2 #A22C6E
triadic
#9B2CA2 #A29B2C #2CA29B
tetradic
#9B2CA2 #A2602C #33A22C #2C6EA2
square
#9B2CA2 #A2602C #33A22C #2C6EA2
split-complementary
#9B2CA2 #6EA22C #2CA260
monochromatic
#3F1242 #6D1F72 #9B2CA2 #C340CB #D270D8

Accessibility & contrast

On white

6.41
#9B2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9B2CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CA2
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CA2#FFFFFF#000000##FFFFFF
##9B2CA21.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0856A5
Deuteranopia (green-blind)
#45639F
Tritanopia (blue-blind)
#9F4064
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2ca2;
/* rgb */ color: rgb(155, 44, 162);
/* oklch */ color: oklch(51.1% 0.198 325.4);
Tailwind
colors: {
  custom: {
    50: '#bc71be',
    500: '#9b2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ca2;
$custom-light: #bc71be;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ca2",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 296.441,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.19808,
    "h": 325.4
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#9B2CA2
secondary
#6FBF6A
accent
#E14750
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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