#9B2CAF#9B2CAF

#9B2CAF is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.9% C 0.209 H 321.0°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#9B2CAF
RGBrgb(155, 44, 175)
HSLhsl(291, 60%, 43%)
HSVhsv(291, 75%, 69%)
CMYKcmyk(11.4%, 74.9%, 0%, 31.4%)
CIE-LABlab(41.00, 62.01, -46.93)
CIE-LCHlch(41.00, 77.77, 322.88°)
OKLaboklab(51.87% 0.1623 -0.1314)
OKLCHoklch(51.87% 0.209 321)
XYZxyz(22.1552, 11.8663, 41.6726)
Luminance0.1187 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2CAF #40AF2C
analogous
#5A2CAF #9B2CAF #AF2C81
triadic
#9B2CAF #AF9B2C #2CAF9B
tetradic
#9B2CAF #AF5A2C #40AF2C #2C81AF
square
#9B2CAF #AF5A2C #40AF2C #2C81AF
split-complementary
#9B2CAF #81AF2C #2CAF5A
monochromatic
#44134D #70207E #9B2CAF #BC47D1 #CE78DD

Accessibility & contrast

On white

6.23
#9B2CAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9B2CAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2CAF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2CAF#FFFFFF#000000##FFFFFF
##9B2CAF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B3
Deuteranopia (green-blind)
#3B65AC
Tritanopia (blue-blind)
#9C466C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9b2caf;
/* rgb */ color: rgb(155, 44, 175);
/* oklch */ color: oklch(51.9% 0.209 321.0);
Tailwind
colors: {
  custom: {
    50: '#bc71c7',
    500: '#9b2caf',
    950: '#000000',
  },
}
SCSS
$custom: #9b2caf;
$custom-light: #bc71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2caf",
  "rgb": {
    "r": 155,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 290.84,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51873,
    "c": 0.20886,
    "h": 321
  },
  "luminance": 0.11865
}

Semantic roles & 50–950 ramp

primary
#9B2CAF
secondary
#7EC572
accent
#E3455D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9B2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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