#9A2DCA#9A2DCA

#9A2DCA is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.7% C 0.231 H 312.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9A2DCA
RGBrgb(154, 45, 202)
HSLhsl(282, 64%, 48%)
HSVhsv(282, 78%, 79%)
CMYKcmyk(23.8%, 77.7%, 0%, 20.8%)
CIE-LABlab(42.78, 66.67, -59.90)
CIE-LCHlch(42.78, 89.63, 318.06°)
OKLaboklab(53.68% 0.1565 -0.1695)
OKLCHoklch(53.68% 0.231 312.7)
XYZxyz(24.9236, 13.0118, 57.0643)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DCA #5DCA2D
analogous
#4B2DCA #9A2DCA #CA2DAB
triadic
#9A2DCA #CA9A2D #2DCA9A
tetradic
#9A2DCA #CA4B2D #5DCA2D #2DABCA
square
#9A2DCA #CA4B2D #5DCA2D #2DABCA
split-complementary
#9A2DCA #ABCA2D #2DCA4B
monochromatic
#4E1766 #742298 #9A2DCA #B35ADA #CA8CE5

Accessibility & contrast

On white

5.83
#9A2DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9A2DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DCA
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DCA#FFFFFF#000000##FFFFFF
##9A2DCA1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#1367C7
Tritanopia (blue-blind)
#94537B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a2dca;
/* rgb */ color: rgb(154, 45, 202);
/* oklch */ color: oklch(53.7% 0.231 312.7);
Tailwind
colors: {
  custom: {
    50: '#bd73db',
    500: '#9a2dca',
    950: '#000000',
  },
}
SCSS
$custom: #9a2dca;
$custom-light: #bd73db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2dca",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 281.656,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53675,
    "c": 0.23069,
    "h": 312.7
  },
  "luminance": 0.13011
}

Semantic roles & 50–950 ramp

primary
#9A2DCA
secondary
#9BCF83
accent
#E74174
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A2DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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