#9A2CA6#9A2CA6

#9A2CA6 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.201 H 323.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9A2CA6
RGBrgb(154, 44, 166)
HSLhsl(294, 58%, 41%)
HSVhsv(294, 73%, 65%)
CMYKcmyk(7.2%, 73.5%, 0%, 34.9%)
CIE-LABlab(40.29, 60.17, -42.72)
CIE-LCHlch(40.29, 73.79, 324.63°)
OKLaboklab(51.16% 0.1618 -0.1192)
OKLCHoklch(51.16% 0.201 323.6)
XYZxyz(21.1094, 11.4258, 37.1625)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CA6 #38A62C
analogous
#5D2CA6 #9A2CA6 #A62C75
triadic
#9A2CA6 #A69A2C #2CA69A
tetradic
#9A2CA6 #A65D2C #38A62C #2C75A6
square
#9A2CA6 #A65D2C #38A62C #2C75A6
split-complementary
#9A2CA6 #75A62C #2CA65D
monochromatic
#401245 #6D1F76 #9A2CA6 #BF42CD #D073DA

Accessibility & contrast

On white

6.39
#9A2CA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9A2CA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CA6
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CA6#FFFFFF#000000##FFFFFF
##9A2CA61.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4163A3
Tritanopia (blue-blind)
#9D4267
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2ca6;
/* rgb */ color: rgb(154, 44, 166);
/* oklch */ color: oklch(51.2% 0.201 323.6);
Tailwind
colors: {
  custom: {
    50: '#bb71c1',
    500: '#9a2ca6',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ca6;
$custom-light: #bb71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ca6",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 166
  },
  "hsl": {
    "h": 294.098,
    "s": 58.095,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51156,
    "c": 0.20091,
    "h": 323.6
  },
  "luminance": 0.11425
}

Semantic roles & 50–950 ramp

primary
#9A2CA6
secondary
#75C16D
accent
#E14656
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2CA6

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

Preview Lab → · Contrast checker → · Palette generator →

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