#9A2DC6#9A2DC6

#9A2DC6 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.4% C 0.227 H 313.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9A2DC6
RGBrgb(154, 45, 198)
HSLhsl(283, 63%, 48%)
HSVhsv(283, 77%, 78%)
CMYKcmyk(22.2%, 77.3%, 0%, 22.4%)
CIE-LABlab(42.50, 65.87, -58.04)
CIE-LCHlch(42.50, 87.79, 318.62°)
OKLaboklab(53.39% 0.1572 -0.164)
OKLCHoklch(53.39% 0.227 313.8)
XYZxyz(24.4561, 12.8248, 54.6023)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2DC6 #59C62D
analogous
#4D2DC6 #9A2DC6 #C62DA6
triadic
#9A2DC6 #C69A2D #2DC69A
tetradic
#9A2DC6 #C64D2D #59C62D #2DA6C6
square
#9A2DC6 #C64D2D #59C62D #2DA6C6
split-complementary
#9A2DC6 #A6C62D #2DC64D
monochromatic
#4C1662 #732294 #9A2DC6 #B457D9 #CA89E4

Accessibility & contrast

On white

5.89
#9A2DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9A2DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2DC6
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2DC6#FFFFFF#000000##FFFFFF
##9A2DC61.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCA
Deuteranopia (green-blind)
#1D67C3
Tritanopia (blue-blind)
#955179
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9a2dc6;
/* rgb */ color: rgb(154, 45, 198);
/* oklch */ color: oklch(53.4% 0.227 313.8);
Tailwind
colors: {
  custom: {
    50: '#bd72d8',
    500: '#9a2dc6',
    950: '#000000',
  },
}
SCSS
$custom: #9a2dc6;
$custom-light: #bd72d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2dc6",
  "rgb": {
    "r": 154,
    "g": 45,
    "b": 198
  },
  "hsl": {
    "h": 282.745,
    "s": 62.963,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53386,
    "c": 0.2272,
    "h": 313.8
  },
  "luminance": 0.12824
}

Semantic roles & 50–950 ramp

primary
#9A2DC6
secondary
#97CE81
accent
#E64271
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130915
muted
#827B83

Preview Lab

Preview with #9A2DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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