#9B2ABD#9B2ABD

#9B2ABD is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.223 H 316.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9B2ABD
RGBrgb(155, 42, 189)
HSLhsl(286, 64%, 45%)
HSVhsv(286, 78%, 74%)
CMYKcmyk(18%, 77.8%, 0%, 25.9%)
CIE-LABlab(41.69, 65.29, -54.08)
CIE-LCHlch(41.69, 84.78, 320.37°)
OKLaboklab(52.65% 0.1624 -0.1524)
OKLCHoklch(52.65% 0.223 316.8)
XYZxyz(23.5295, 12.2996, 49.2689)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B2ABD #4CBD2A
analogous
#512ABD #9B2ABD #BD2A96
triadic
#9B2ABD #BD9B2A #2ABD9B
tetradic
#9B2ABD #BD512A #4CBD2A #2A96BD
square
#9B2ABD #BD512A #4CBD2A #2A96BD
split-complementary
#9B2ABD #96BD2A #2ABD51
monochromatic
#491459 #721F8B #9B2ABD #B74DD7 #CB7FE3

Accessibility & contrast

On white

6.07
#9B2ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9B2ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B2ABD
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B2ABD#FFFFFF#000000##FFFFFF
##9B2ABD1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#2B66BA
Tritanopia (blue-blind)
#994B73
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9b2abd;
/* rgb */ color: rgb(155, 42, 189);
/* oklch */ color: oklch(52.6% 0.223 316.8);
Tailwind
colors: {
  custom: {
    50: '#bd71d2',
    500: '#9b2abd',
    950: '#000000',
  },
}
SCSS
$custom: #9b2abd;
$custom-light: #bd71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b2abd",
  "rgb": {
    "r": 155,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 286.122,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.5265,
    "c": 0.22268,
    "h": 316.8
  },
  "luminance": 0.12299
}

Semantic roles & 50–950 ramp

primary
#9B2ABD
secondary
#8BCB78
accent
#E74167
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9B2ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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