#9A2EA2#9A2EA2

#9A2EA2 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 51.1% C 0.195 H 325.0°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9A2EA2
RGBrgb(154, 46, 162)
HSLhsl(296, 56%, 41%)
HSVhsv(296, 72%, 64%)
CMYKcmyk(4.9%, 71.6%, 0%, 36.5%)
CIE-LABlab(40.30, 58.75, -40.30)
CIE-LCHlch(40.30, 71.24, 325.55°)
OKLaboklab(51.09% 0.1599 -0.1121)
OKLCHoklch(51.09% 0.195 325)
XYZxyz(20.8245, 11.4340, 35.2855)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EA2 #36A22E
analogous
#602EA2 #9A2EA2 #A22E70
triadic
#9A2EA2 #A29A2E #2EA29A
tetradic
#9A2EA2 #A2602E #36A22E #2E70A2
square
#9A2EA2 #A2602E #36A22E #2E70A2
split-complementary
#9A2EA2 #70A22E #2EA260
monochromatic
#3F1343 #6D2072 #9A2EA2 #C043CA #D073D7

Accessibility & contrast

On white

6.39
#9A2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9A2EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EA2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EA2#FFFFFF#000000##FFFFFF
##9A2EA21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D57A5
Deuteranopia (green-blind)
#45639F
Tritanopia (blue-blind)
#9D4165
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2ea2;
/* rgb */ color: rgb(154, 46, 162);
/* oklch */ color: oklch(51.1% 0.195 325.0);
Tailwind
colors: {
  custom: {
    50: '#bb71be',
    500: '#9a2ea2',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ea2;
$custom-light: #bb71be;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ea2",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 295.862,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51089,
    "c": 0.19532,
    "h": 325
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#9A2EA2
secondary
#73BF6D
accent
#DF4953
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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