#9A2CA4#9A2CA4

#9A2CA4 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.0% C 0.199 H 324.3°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9A2CA4
RGBrgb(154, 44, 164)
HSLhsl(295, 58%, 41%)
HSVhsv(295, 73%, 64%)
CMYKcmyk(6.1%, 73.2%, 0%, 35.7%)
CIE-LABlab(40.17, 59.82, -41.71)
CIE-LCHlch(40.17, 72.92, 325.11°)
OKLaboklab(51.03% 0.1619 -0.1162)
OKLCHoklch(51.03% 0.199 324.3)
XYZxyz(20.9274, 11.3530, 36.2038)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2CA4 #36A42C
analogous
#5E2CA4 #9A2CA4 #A42C72
triadic
#9A2CA4 #A49A2C #2CA49A
tetradic
#9A2CA4 #A45E2C #36A42C #2C72A4
square
#9A2CA4 #A45E2C #36A42C #2C72A4
split-complementary
#9A2CA4 #72A42C #2CA45E
monochromatic
#3F1243 #6D1F74 #9A2CA4 #C041CC #D071D9

Accessibility & contrast

On white

6.42
#9A2CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9A2CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2CA4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2CA4#FFFFFF#000000##FFFFFF
##9A2CA41.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4363A1
Tritanopia (blue-blind)
#9D4166
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2ca4;
/* rgb */ color: rgb(154, 44, 164);
/* oklch */ color: oklch(51.0% 0.199 324.3);
Tailwind
colors: {
  custom: {
    50: '#bb70bf',
    500: '#9a2ca4',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ca4;
$custom-light: #bb70bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ca4",
  "rgb": {
    "r": 154,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 295,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51032,
    "c": 0.19925,
    "h": 324.3
  },
  "luminance": 0.11352
}

Semantic roles & 50–950 ramp

primary
#9A2CA4
secondary
#73C06B
accent
#E14754
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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