#9A2CB9#9A2CB9

#9A2CB9 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.217 H 317.5°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9A2CB9
RGBrgb(154, 44, 185)
HSLhsl(287, 62%, 45%)
HSVhsv(287, 76%, 73%)
CMYKcmyk(16.8%, 76.2%, 0%, 27.5%)
CIE-LABlab(41.49, 63.68, -52.06)
CIE-LCHlch(41.49, 82.25, 320.74°)
OKLaboklab(52.4% 0.16 -0.1465)
OKLCHoklch(52.4% 0.217 317.5)
XYZxyz(22.9828, 12.1752, 47.0290)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CB9 #4BB92C
analogous
#542CB9 #9A2CB9 #B92C91
triadic
#9A2CB9 #B99A2C #2CB99A
tetradic
#9A2CB9 #B9542C #4BB92C #2C91B9
square
#9A2CB9 #B9542C #4BB92C #2C91B9
split-complementary
#9A2CB9 #91B92C #2CB954
monochromatic
#481456 #712088 #9A2CB9 #B74DD5 #CB7FE1

Accessibility & contrast

On white

6.11
#9A2CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9A2CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CB9
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CB9#FFFFFF#000000##FFFFFF
##9A2CB91.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BBD
Deuteranopia (green-blind)
#3065B6
Tritanopia (blue-blind)
#994B71
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a2cb9;
/* rgb */ color: rgb(154, 44, 185);
/* oklch */ color: oklch(52.4% 0.217 317.5);
Tailwind
colors: {
  custom: {
    50: '#bc71cf',
    500: '#9a2cb9',
    950: '#000000',
  },
}
SCSS
$custom: #9a2cb9;
$custom-light: #bc71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2cb9",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 286.809,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52396,
    "c": 0.21695,
    "h": 317.5
  },
  "luminance": 0.12174
}

Semantic roles & 50–950 ramp

primary
#9A2CB9
secondary
#8AC978
accent
#E54367
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9A2CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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