#9A2EAC#9A2EAC

#9A2EAC is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.7% C 0.204 H 321.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#9A2EAC
RGBrgb(154, 46, 172)
HSLhsl(291, 58%, 43%)
HSVhsv(291, 73%, 67%)
CMYKcmyk(10.5%, 73.3%, 0%, 32.5%)
CIE-LABlab(40.90, 60.55, -45.32)
CIE-LCHlch(40.90, 75.63, 323.19°)
OKLaboklab(51.71% 0.1595 -0.1268)
OKLCHoklch(51.71% 0.204 321.5)
XYZxyz(21.7490, 11.8038, 40.1545)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EAC #40AC2E
analogous
#5B2EAC #9A2EAC #AC2E7F
triadic
#9A2EAC #AC9A2E #2EAC9A
tetradic
#9A2EAC #AC5B2E #40AC2E #2E7FAC
square
#9A2EAC #AC5B2E #40AC2E #2E7FAC
split-complementary
#9A2EAC #7FAC2E #2EAC5B
monochromatic
#44144B #6F217C #9A2EAC #BB49CE #CD79DB

Accessibility & contrast

On white

6.25
#9A2EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#9A2EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EAC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EAC#FFFFFF#000000##FFFFFF
##9A2EAC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B0
Deuteranopia (green-blind)
#3E64A9
Tritanopia (blue-blind)
#9B466B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2eac;
/* rgb */ color: rgb(154, 46, 172);
/* oklch */ color: oklch(51.7% 0.204 321.5);
Tailwind
colors: {
  custom: {
    50: '#bb72c5',
    500: '#9a2eac',
    950: '#000000',
  },
}
SCSS
$custom: #9a2eac;
$custom-light: #bb72c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2eac",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 291.429,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51711,
    "c": 0.20374,
    "h": 321.5
  },
  "luminance": 0.11803
}

Semantic roles & 50–950 ramp

primary
#9A2EAC
secondary
#7EC372
accent
#E1475D
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A2EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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