#9A2EA3#9A2EA3

#9A2EA3 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.1% C 0.196 H 324.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9A2EA3
RGBrgb(154, 46, 163)
HSLhsl(295, 56%, 41%)
HSVhsv(295, 72%, 64%)
CMYKcmyk(5.5%, 71.8%, 0%, 36.1%)
CIE-LABlab(40.36, 58.92, -40.81)
CIE-LCHlch(40.36, 71.68, 325.29°)
OKLaboklab(51.15% 0.1599 -0.1136)
OKLCHoklch(51.15% 0.196 324.6)
XYZxyz(20.9137, 11.4697, 35.7555)
Luminance0.1147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EA3 #37A32E
analogous
#5F2EA3 #9A2EA3 #A32E71
triadic
#9A2EA3 #A39A2E #2EA39A
tetradic
#9A2EA3 #A35F2E #37A32E #2E71A3
square
#9A2EA3 #A35F2E #37A32E #2E71A3
split-complementary
#9A2EA3 #71A32E #2EA35F
monochromatic
#401344 #6D2173 #9A2EA3 #C044CA #D074D8

Accessibility & contrast

On white

6.38
#9A2EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A2EA3
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EA3#FFFFFF#000000##FFFFFF
##9A2EA31.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A57A6
Deuteranopia (green-blind)
#4564A0
Tritanopia (blue-blind)
#9D4266
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2ea3;
/* rgb */ color: rgb(154, 46, 163);
/* oklch */ color: oklch(51.1% 0.196 324.6);
Tailwind
colors: {
  custom: {
    50: '#bb71bf',
    500: '#9a2ea3',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ea3;
$custom-light: #bb71bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ea3",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 295.385,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5115,
    "c": 0.19615,
    "h": 324.6
  },
  "luminance": 0.11468
}

Semantic roles & 50–950 ramp

primary
#9A2EA3
secondary
#74BF6D
accent
#DF4954
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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