#9A2CBD#9A2CBD

#9A2CBD is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.7% C 0.220 H 316.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9A2CBD
RGBrgb(154, 44, 189)
HSLhsl(286, 62%, 46%)
HSVhsv(286, 77%, 74%)
CMYKcmyk(18.5%, 76.7%, 0%, 25.9%)
CIE-LABlab(41.76, 64.45, -53.97)
CIE-LCHlch(41.76, 84.06, 320.06°)
OKLaboklab(52.67% 0.1595 -0.1521)
OKLCHoklch(52.67% 0.22 316.4)
XYZxyz(23.4110, 12.3465, 49.2842)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CBD #4FBD2C
analogous
#512CBD #9A2CBD #BD2C97
triadic
#9A2CBD #BD9A2C #2CBD9A
tetradic
#9A2CBD #BD512C #4FBD2C #2C97BD
square
#9A2CBD #BD512C #4FBD2C #2C97BD
split-complementary
#9A2CBD #97BD2C #2CBD51
monochromatic
#49155A #72208B #9A2CBD #B650D6 #CB82E2

Accessibility & contrast

On white

6.05
#9A2CBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9A2CBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CBD
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CBD#FFFFFF#000000##FFFFFF
##9A2CBD1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#2B66BA
Tritanopia (blue-blind)
#984C74
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2cbd;
/* rgb */ color: rgb(154, 44, 189);
/* oklch */ color: oklch(52.7% 0.220 316.4);
Tailwind
colors: {
  custom: {
    50: '#bc72d2',
    500: '#9a2cbd',
    950: '#000000',
  },
}
SCSS
$custom: #9a2cbd;
$custom-light: #bc72d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2cbd",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 189
  },
  "hsl": {
    "h": 285.517,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52671,
    "c": 0.22038,
    "h": 316.4
  },
  "luminance": 0.12346
}

Semantic roles & 50–950 ramp

primary
#9A2CBD
secondary
#8ECB7A
accent
#E5426A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A2CBD

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

Preview Lab → · Contrast checker → · Palette generator →

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