#9A2EA5#9A2EA5

#9A2EA5 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.3% C 0.198 H 323.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9A2EA5
RGBrgb(154, 46, 165)
HSLhsl(294, 56%, 41%)
HSVhsv(294, 72%, 65%)
CMYKcmyk(6.7%, 72.1%, 0%, 35.3%)
CIE-LABlab(40.48, 59.28, -41.82)
CIE-LCHlch(40.48, 72.55, 324.80°)
OKLaboklab(51.27% 0.1599 -0.1165)
OKLCHoklch(51.27% 0.198 323.9)
XYZxyz(21.0944, 11.5419, 36.7067)
Luminance0.1154 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EA5 #39A52E
analogous
#5F2EA5 #9A2EA5 #A52E75
triadic
#9A2EA5 #A59A2E #2EA59A
tetradic
#9A2EA5 #A55F2E #39A52E #2E75A5
square
#9A2EA5 #A55F2E #39A52E #2E75A5
split-complementary
#9A2EA5 #75A52E #2EA55F
monochromatic
#411345 #6D2175 #9A2EA5 #BF45CB #CF75D8

Accessibility & contrast

On white

6.35
#9A2EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9A2EA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EA5
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EA5#FFFFFF#000000##FFFFFF
##9A2EA51.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0357A8
Deuteranopia (green-blind)
#4364A2
Tritanopia (blue-blind)
#9D4367
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2ea5;
/* rgb */ color: rgb(154, 46, 165);
/* oklch */ color: oklch(51.3% 0.198 323.9);
Tailwind
colors: {
  custom: {
    50: '#bb71c0',
    500: '#9a2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ea5;
$custom-light: #bb71c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ea5",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 294.454,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51272,
    "c": 0.19782,
    "h": 323.9
  },
  "luminance": 0.11541
}

Semantic roles & 50–950 ramp

primary
#9A2EA5
secondary
#76C06F
accent
#E04856
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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