#9A2CCD#9A2CCD

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

Color values

HEX#9A2CCD
RGBrgb(154, 44, 205)
HSLhsl(281, 65%, 49%)
HSVhsv(281, 79%, 80%)
CMYKcmyk(24.9%, 78.5%, 0%, 19.6%)
CIE-LABlab(42.88, 67.59, -61.47)
CIE-LCHlch(42.88, 91.37, 317.71°)
OKLaboklab(53.81% 0.1567 -0.1741)
OKLCHoklch(53.81% 0.234 312)
XYZxyz(25.2445, 13.0799, 58.9406)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CCD #5FCD2C
analogous
#4A2CCD #9A2CCD #CD2CB0
triadic
#9A2CCD #CD9A2C #2CCD9A
tetradic
#9A2CCD #CD4A2C #5FCD2C #2CB0CD
square
#9A2CCD #CD4A2C #5FCD2C #2CB0CD
split-complementary
#9A2CCD #B0CD2C #2CCD4A
monochromatic
#4E1668 #74219B #9A2CCD #B35BDC #CA8DE7

Accessibility & contrast

On white

5.81
#9A2CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A2CCD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CCD#FFFFFF#000000##FFFFFF
##9A2CCD1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D1
Deuteranopia (green-blind)
#0467CA
Tritanopia (blue-blind)
#94547D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a2ccd;
/* rgb */ color: rgb(154, 44, 205);
/* oklch */ color: oklch(53.8% 0.234 312.0);
Tailwind
colors: {
  custom: {
    50: '#bd72dd',
    500: '#9a2ccd',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ccd;
$custom-light: #bd72dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ccd",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 205
  },
  "hsl": {
    "h": 280.994,
    "s": 64.659,
    "l": 48.824
  },
  "oklch": {
    "l": 0.53814,
    "c": 0.23424,
    "h": 312
  },
  "luminance": 0.13079
}

Semantic roles & 50–950 ramp

primary
#9A2CCD
secondary
#9CD184
accent
#E84075
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A2CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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