#9A2CA2#9A2CA2

#9A2CA2 is a mid, vivid purple. Relative luminance 0.113; OKLCH L 50.9% C 0.198 H 325.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#9A2CA2
RGBrgb(154, 44, 162)
HSLhsl(296, 57%, 40%)
HSVhsv(296, 73%, 64%)
CMYKcmyk(4.9%, 72.8%, 0%, 36.5%)
CIE-LABlab(40.05, 59.46, -40.70)
CIE-LCHlch(40.05, 72.06, 325.61°)
OKLaboklab(50.91% 0.1619 -0.1133)
OKLCHoklch(50.91% 0.198 325)
XYZxyz(20.7482, 11.2814, 35.2601)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CA2 #34A22C
analogous
#5F2CA2 #9A2CA2 #A22C6F
triadic
#9A2CA2 #A29A2C #2CA29A
tetradic
#9A2CA2 #A25F2C #34A22C #2C6FA2
square
#9A2CA2 #A25F2C #34A22C #2C6FA2
split-complementary
#9A2CA2 #6FA22C #2CA25F
monochromatic
#3E1242 #6C1F72 #9A2CA2 #C240CB #D170D8

Accessibility & contrast

On white

6.45
#9A2CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9A2CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CA2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CA2#FFFFFF#000000##FFFFFF
##9A2CA21.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0656A5
Deuteranopia (green-blind)
#44639F
Tritanopia (blue-blind)
#9D4064
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a2ca2;
/* rgb */ color: rgb(154, 44, 162);
/* oklch */ color: oklch(50.9% 0.198 325.0);
Tailwind
colors: {
  custom: {
    50: '#bb70be',
    500: '#9a2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ca2;
$custom-light: #bb70be;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ca2",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 295.932,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50909,
    "c": 0.19761,
    "h": 325
  },
  "luminance": 0.1128
}

Semantic roles & 50–950 ramp

primary
#9A2CA2
secondary
#70BF6A
accent
#E14752
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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