#9A2DC8#9A2DC8

#9A2DC8 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.5% C 0.229 H 313.2°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9A2DC8
RGBrgb(154, 45, 200)
HSLhsl(282, 63%, 48%)
HSVhsv(282, 78%, 78%)
CMYKcmyk(23%, 77.5%, 0%, 21.6%)
CIE-LABlab(42.64, 66.27, -58.97)
CIE-LCHlch(42.64, 88.71, 318.33°)
OKLaboklab(53.53% 0.1568 -0.1668)
OKLCHoklch(53.53% 0.229 313.2)
XYZxyz(24.6883, 12.9177, 55.8252)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DC8 #5BC82D
analogous
#4D2DC8 #9A2DC8 #C82DA8
triadic
#9A2DC8 #C89A2D #2DC89A
tetradic
#9A2DC8 #C84D2D #5BC82D #2DA8C8
square
#9A2DC8 #C84D2D #5BC82D #2DA8C8
split-complementary
#9A2DC8 #A8C82D #2DC84D
monochromatic
#4D1764 #742296 #9A2DC8 #B359DA #CA8BE5

Accessibility & contrast

On white

5.86
#9A2DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9A2DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DC8
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DC8#FFFFFF#000000##FFFFFF
##9A2DC81.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCC
Deuteranopia (green-blind)
#1967C5
Tritanopia (blue-blind)
#95527A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9a2dc8;
/* rgb */ color: rgb(154, 45, 200);
/* oklch */ color: oklch(53.5% 0.229 313.2);
Tailwind
colors: {
  custom: {
    50: '#bd72da',
    500: '#9a2dc8',
    950: '#000000',
  },
}
SCSS
$custom: #9a2dc8;
$custom-light: #bd72da;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2dc8",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 200
  },
  "hsl": {
    "h": 282.194,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5353,
    "c": 0.22894,
    "h": 313.2
  },
  "luminance": 0.12917
}

Semantic roles & 50–950 ramp

primary
#9A2DC8
secondary
#99CF82
accent
#E64172
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9A2DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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