#9B2CA3#9B2CA3

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

Color values

HEX#9B2CA3
RGBrgb(155, 44, 163)
HSLhsl(296, 57%, 41%)
HSVhsv(296, 73%, 64%)
CMYKcmyk(4.9%, 73%, 0%, 36.1%)
CIE-LABlab(40.27, 59.86, -40.94)
CIE-LCHlch(40.27, 72.52, 325.63°)
OKLaboklab(51.12% 0.163 -0.1139)
OKLCHoklch(51.12% 0.199 325)
XYZxyz(21.0286, 11.4156, 35.7391)
Luminance0.1141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CA3 #34A32C
analogous
#5F2CA3 #9B2CA3 #A32C70
triadic
#9B2CA3 #A39B2C #2CA39B
tetradic
#9B2CA3 #A35F2C #34A32C #2C70A3
square
#9B2CA3 #A35F2C #34A32C #2C70A3
split-complementary
#9B2CA3 #70A32C #2CA35F
monochromatic
#3F1243 #6D1F73 #9B2CA3 #C241CC #D271D9

Accessibility & contrast

On white

6.40
#9B2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B2CA3
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CA3#FFFFFF#000000##FFFFFF
##9B2CA31.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0556A6
Deuteranopia (green-blind)
#4464A0
Tritanopia (blue-blind)
#9E4065
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9b2ca3;
/* rgb */ color: rgb(155, 44, 163);
/* oklch */ color: oklch(51.1% 0.199 325.0);
Tailwind
colors: {
  custom: {
    50: '#bc71bf',
    500: '#9b2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #9b2ca3;
$custom-light: #bc71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2ca3",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 295.966,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51118,
    "c": 0.19889,
    "h": 325
  },
  "luminance": 0.11414
}

Semantic roles & 50–950 ramp

primary
#9B2CA3
secondary
#71C06B
accent
#E14751
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9B2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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