#9A2EA1#9A2EA1

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

Color values

HEX#9A2EA1
RGBrgb(154, 46, 161)
HSLhsl(296, 56%, 41%)
HSVhsv(296, 71%, 63%)
CMYKcmyk(4.3%, 71.4%, 0%, 36.9%)
CIE-LABlab(40.24, 58.57, -39.80)
CIE-LCHlch(40.24, 70.81, 325.81°)
OKLaboklab(51.03% 0.16 -0.1106)
OKLCHoklch(51.03% 0.194 325.3)
XYZxyz(20.7360, 11.3986, 34.8193)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EA1 #35A12E
analogous
#602EA1 #9A2EA1 #A12E6E
triadic
#9A2EA1 #A19A2E #2EA19A
tetradic
#9A2EA1 #A1602E #35A12E #2E6EA1
square
#9A2EA1 #A1602E #35A12E #2E6EA1
split-complementary
#9A2EA1 #6EA12E #2EA160
monochromatic
#3F1342 #6C2071 #9A2EA1 #C143C9 #D173D7

Accessibility & contrast

On white

6.40
#9A2EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9A2EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EA1
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EA1#FFFFFF#000000##FFFFFF
##9A2EA11.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F56A4
Deuteranopia (green-blind)
#46639E
Tritanopia (blue-blind)
#9E4164
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2ea1;
/* rgb */ color: rgb(154, 46, 161);
/* oklch */ color: oklch(51.0% 0.194 325.3);
Tailwind
colors: {
  custom: {
    50: '#bb71bd',
    500: '#9a2ea1',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ea1;
$custom-light: #bb71bd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ea1",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 296.348,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51028,
    "c": 0.19449,
    "h": 325.3
  },
  "luminance": 0.11397
}

Semantic roles & 50–950 ramp

primary
#9A2EA1
secondary
#71BE6C
accent
#DF4952
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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