#9A2EA6#9A2EA6

#9A2EA6 is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.3% C 0.199 H 323.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9A2EA6
RGBrgb(154, 46, 166)
HSLhsl(294, 57%, 42%)
HSVhsv(294, 72%, 65%)
CMYKcmyk(7.2%, 72.3%, 0%, 34.9%)
CIE-LABlab(40.54, 59.46, -42.32)
CIE-LCHlch(40.54, 72.98, 324.56°)
OKLaboklab(51.33% 0.1598 -0.118)
OKLCHoklch(51.33% 0.199 323.6)
XYZxyz(21.1857, 11.5785, 37.1880)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EA6 #3AA62E
analogous
#5E2EA6 #9A2EA6 #A62E76
triadic
#9A2EA6 #A69A2E #2EA69A
tetradic
#9A2EA6 #A65E2E #3AA62E #2E76A6
square
#9A2EA6 #A65E2E #3AA62E #2E76A6
split-complementary
#9A2EA6 #76A62E #2EA65E
monochromatic
#411346 #6E2176 #9A2EA6 #BE46CC #CF76D9

Accessibility & contrast

On white

6.33
#9A2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9A2EA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EA6
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EA6#FFFFFF#000000##FFFFFF
##9A2EA61.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057A9
Deuteranopia (green-blind)
#4264A3
Tritanopia (blue-blind)
#9D4367
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2ea6;
/* rgb */ color: rgb(154, 46, 166);
/* oklch */ color: oklch(51.3% 0.199 323.6);
Tailwind
colors: {
  custom: {
    50: '#bb71c1',
    500: '#9a2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ea6;
$custom-light: #bb71c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ea6",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 294,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51334,
    "c": 0.19867,
    "h": 323.6
  },
  "luminance": 0.11577
}

Semantic roles & 50–950 ramp

primary
#9A2EA6
secondary
#77C16F
accent
#E04857
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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