#9A2CA8#9A2CA8

#9A2CA8 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.203 H 322.9°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9A2CA8
RGBrgb(154, 44, 168)
HSLhsl(293, 58%, 42%)
HSVhsv(293, 74%, 66%)
CMYKcmyk(8.3%, 73.8%, 0%, 34.1%)
CIE-LABlab(40.41, 60.53, -43.72)
CIE-LCHlch(40.41, 74.67, 324.16°)
OKLaboklab(51.28% 0.1617 -0.1221)
OKLCHoklch(51.28% 0.203 322.9)
XYZxyz(21.2943, 11.4998, 38.1363)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CA8 #3AA82C
analogous
#5C2CA8 #9A2CA8 #A82C78
triadic
#9A2CA8 #A89A2C #2CA89A
tetradic
#9A2CA8 #A85C2C #3AA82C #2C78A8
square
#9A2CA8 #A85C2C #3AA82C #2C78A8
split-complementary
#9A2CA8 #78A82C #2CA85C
monochromatic
#411347 #6E1F78 #9A2CA8 #BE43CE #CF74DB

Accessibility & contrast

On white

6.36
#9A2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9A2CA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CA8
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CA8#FFFFFF#000000##FFFFFF
##9A2CA81.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AB
Deuteranopia (green-blind)
#4063A5
Tritanopia (blue-blind)
#9C4368
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2ca8;
/* rgb */ color: rgb(154, 44, 168);
/* oklch */ color: oklch(51.3% 0.203 322.9);
Tailwind
colors: {
  custom: {
    50: '#bb71c2',
    500: '#9a2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ca8;
$custom-light: #bb71c2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ca8",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 293.226,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51281,
    "c": 0.20258,
    "h": 322.9
  },
  "luminance": 0.11499
}

Semantic roles & 50–950 ramp

primary
#9A2CA8
secondary
#77C26E
accent
#E24658
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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