#9A2DC0#9A2DC0

#9A2DC0 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.222 H 315.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9A2DC0
RGBrgb(154, 45, 192)
HSLhsl(284, 62%, 46%)
HSVhsv(284, 77%, 75%)
CMYKcmyk(19.8%, 76.6%, 0%, 24.7%)
CIE-LABlab(42.08, 64.69, -55.21)
CIE-LCHlch(42.08, 85.05, 319.52°)
OKLaboklab(52.96% 0.1582 -0.1557)
OKLCHoklch(52.96% 0.222 315.4)
XYZxyz(23.7777, 12.5535, 51.0295)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DC0 #53C02D
analogous
#512DC0 #9A2DC0 #C02D9D
triadic
#9A2DC0 #C09A2D #2DC09A
tetradic
#9A2DC0 #C0512D #53C02D #2D9DC0
square
#9A2DC0 #C0512D #53C02D #2D9DC0
split-complementary
#9A2DC0 #9DC02D #2DC051
monochromatic
#4A165D #72218E #9A2DC0 #B553D7 #CA85E2

Accessibility & contrast

On white

5.98
#9A2DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9A2DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DC0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DC0#FFFFFF#000000##FFFFFF
##9A2DC01.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#2866BD
Tritanopia (blue-blind)
#974E76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2dc0;
/* rgb */ color: rgb(154, 45, 192);
/* oklch */ color: oklch(53.0% 0.222 315.4);
Tailwind
colors: {
  custom: {
    50: '#bc72d4',
    500: '#9a2dc0',
    950: '#000000',
  },
}
SCSS
$custom: #9a2dc0;
$custom-light: #bc72d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2dc0",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 192
  },
  "hsl": {
    "h": 284.49,
    "s": 62.025,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52962,
    "c": 0.22198,
    "h": 315.4
  },
  "luminance": 0.12553
}

Semantic roles & 50–950 ramp

primary
#9A2DC0
secondary
#91CC7D
accent
#E5436D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9A2DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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