#9A2DCC#9A2DCC

#9A2DCC is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.232 H 312.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#9A2DCC
RGBrgb(154, 45, 204)
HSLhsl(281, 64%, 49%)
HSVhsv(281, 78%, 80%)
CMYKcmyk(24.5%, 77.9%, 0%, 20%)
CIE-LABlab(42.92, 67.07, -60.83)
CIE-LCHlch(42.92, 90.54, 317.79°)
OKLaboklab(53.82% 0.1561 -0.1722)
OKLCHoklch(53.82% 0.232 312.2)
XYZxyz(25.1619, 13.1072, 58.3195)
Luminance0.1311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DCC #5FCC2D
analogous
#4B2DCC #9A2DCC #CC2DAF
triadic
#9A2DCC #CC9A2D #2DCC9A
tetradic
#9A2DCC #CC4B2D #5FCC2D #2DAFCC
square
#9A2DCC #CC4B2D #5FCC2D #2DAFCC
split-complementary
#9A2DCC #AFCC2D #2DCC4B
monochromatic
#4E1768 #74229A #9A2DCC #B35BDB #CA8DE6

Accessibility & contrast

On white

5.80
#9A2DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9A2DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DCC
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DCC#FFFFFF#000000##FFFFFF
##9A2DCC1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D0
Deuteranopia (green-blind)
#0C67C9
Tritanopia (blue-blind)
#94547C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a2dcc;
/* rgb */ color: rgb(154, 45, 204);
/* oklch */ color: oklch(53.8% 0.232 312.2);
Tailwind
colors: {
  custom: {
    50: '#bd73dc',
    500: '#9a2dcc',
    950: '#000000',
  },
}
SCSS
$custom: #9a2dcc;
$custom-light: #bd73dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2dcc",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 204
  },
  "hsl": {
    "h": 281.132,
    "s": 63.855,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5382,
    "c": 0.23244,
    "h": 312.2
  },
  "luminance": 0.13106
}

Semantic roles & 50–950 ramp

primary
#9A2DCC
secondary
#9CD085
accent
#E74175
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A2DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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