#9B2DAF#9B2DAF

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

Color values

HEX#9B2DAF
RGBrgb(155, 45, 175)
HSLhsl(291, 59%, 43%)
HSVhsv(291, 74%, 69%)
CMYKcmyk(11.4%, 74.3%, 0%, 31.4%)
CIE-LABlab(41.12, 61.67, -46.73)
CIE-LCHlch(41.12, 77.38, 322.84°)
OKLaboklab(51.96% 0.1614 -0.1309)
OKLCHoklch(51.96% 0.208 321)
XYZxyz(22.1929, 11.9417, 41.6851)
Luminance0.1194 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2DAF #41AF2D
analogous
#5A2DAF #9B2DAF #AF2D82
triadic
#9B2DAF #AF9B2D #2DAF9B
tetradic
#9B2DAF #AF5A2D #41AF2D #2D82AF
square
#9B2DAF #AF5A2D #41AF2D #2D82AF
split-complementary
#9B2DAF #82AF2D #2DAF5A
monochromatic
#45144E #70207E #9B2DAF #BB49D0 #CD7ADD

Accessibility & contrast

On white

6.20
#9B2DAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9B2DAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2DAF
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2DAF#FFFFFF#000000##FFFFFF
##9B2DAF1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b2daf;
/* rgb */ color: rgb(155, 45, 175);
/* oklch */ color: oklch(52.0% 0.208 321.0);
Tailwind
colors: {
  custom: {
    50: '#bc71c7',
    500: '#9b2daf',
    950: '#000000',
  },
}
SCSS
$custom: #9b2daf;
$custom-light: #bc71c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2daf",
  "rgb": {
    "r": 155,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 290.769,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51959,
    "c": 0.20779,
    "h": 321
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#9B2DAF
secondary
#80C573
accent
#E2465E
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9B2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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