#9A2EA0#9A2EA0

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

Color values

HEX#9A2EA0
RGBrgb(154, 46, 160)
HSLhsl(297, 55%, 40%)
HSVhsv(297, 71%, 63%)
CMYKcmyk(3.8%, 71.2%, 0%, 37.3%)
CIE-LABlab(40.19, 58.39, -39.29)
CIE-LCHlch(40.19, 70.38, 326.07°)
OKLaboklab(50.97% 0.16 -0.1092)
OKLCHoklch(50.97% 0.194 325.7)
XYZxyz(20.6481, 11.3634, 34.3567)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EA0 #34A02E
analogous
#612EA0 #9A2EA0 #A02E6D
triadic
#9A2EA0 #A09A2E #2EA09A
tetradic
#9A2EA0 #A0612E #34A02E #2E6DA0
square
#9A2EA0 #A0612E #34A02E #2E6DA0
split-complementary
#9A2EA0 #6DA02E #2EA061
monochromatic
#3E1341 #6C2070 #9A2EA0 #C242C9 #D172D6

Accessibility & contrast

On white

6.42
#9A2EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9A2EA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EA0
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EA0#FFFFFF#000000##FFFFFF
##9A2EA01.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1256A3
Deuteranopia (green-blind)
#46639D
Tritanopia (blue-blind)
#9E4064
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a2ea0;
/* rgb */ color: rgb(154, 46, 160);
/* oklch */ color: oklch(51.0% 0.194 325.7);
Tailwind
colors: {
  custom: {
    50: '#bb71bc',
    500: '#9a2ea0',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ea0;
$custom-light: #bb71bc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ea0",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 296.842,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50968,
    "c": 0.19366,
    "h": 325.7
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#9A2EA0
secondary
#70BE6C
accent
#DF4951
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9A2EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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