#9A2DCE#9A2DCE

#9A2DCE is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 54.0% C 0.234 H 311.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9A2DCE
RGBrgb(154, 45, 206)
HSLhsl(281, 64%, 49%)
HSVhsv(281, 78%, 81%)
CMYKcmyk(25.2%, 78.2%, 0%, 19.2%)
CIE-LABlab(43.07, 67.47, -61.75)
CIE-LCHlch(43.07, 91.46, 317.53°)
OKLaboklab(53.97% 0.1557 -0.175)
OKLCHoklch(53.97% 0.234 311.7)
XYZxyz(25.4033, 13.2037, 59.5909)
Luminance0.1320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DCE #61CE2D
analogous
#4A2DCE #9A2DCE #CE2DB2
triadic
#9A2DCE #CE9A2D #2DCE9A
tetradic
#9A2DCE #CE4A2D #61CE2D #2DB2CE
square
#9A2DCE #CE4A2D #61CE2D #2DB2CE
split-complementary
#9A2DCE #B2CE2D #2DCE4A
monochromatic
#4F176A #74229C #9A2DCE #B35DDC #CA8FE7

Accessibility & contrast

On white

5.77
#9A2DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9A2DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DCE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DCE#FFFFFF#000000##FFFFFF
##9A2DCE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0268CB
Tritanopia (blue-blind)
#93557E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9a2dce;
/* rgb */ color: rgb(154, 45, 206);
/* oklch */ color: oklch(54.0% 0.234 311.7);
Tailwind
colors: {
  custom: {
    50: '#bd73de',
    500: '#9a2dce',
    950: '#000000',
  },
}
SCSS
$custom: #9a2dce;
$custom-light: #bd73de;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2dce",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 206
  },
  "hsl": {
    "h": 280.621,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53967,
    "c": 0.23419,
    "h": 311.7
  },
  "luminance": 0.13203
}

Semantic roles & 50–950 ramp

primary
#9A2DCE
secondary
#9ED186
accent
#E74176
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A2DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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