#9A2EB3#9A2EB3

#9A2EB3 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.210 H 319.3°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#9A2EB3
RGBrgb(154, 46, 179)
HSLhsl(289, 59%, 44%)
HSVhsv(289, 74%, 70%)
CMYKcmyk(14%, 74.3%, 0%, 29.8%)
CIE-LABlab(41.34, 61.86, -48.76)
CIE-LCHlch(41.34, 78.76, 321.75°)
OKLaboklab(52.16% 0.1589 -0.1368)
OKLCHoklch(52.16% 0.21 319.3)
XYZxyz(22.4390, 12.0798, 43.7888)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EB3 #47B32E
analogous
#582EB3 #9A2EB3 #B32E8A
triadic
#9A2EB3 #B39A2E #2EB39A
tetradic
#9A2EB3 #B3582E #47B32E #2E8AB3
square
#9A2EB3 #B3582E #47B32E #2E8AB3
split-complementary
#9A2EB3 #8AB32E #2EB358
monochromatic
#461552 #702182 #9A2EB3 #B84DD1 #CC7EDE

Accessibility & contrast

On white

6.15
#9A2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9A2EB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EB3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EB3#FFFFFF#000000##FFFFFF
##9A2EB31.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3865B0
Tritanopia (blue-blind)
#9A496E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9a2eb3;
/* rgb */ color: rgb(154, 46, 179);
/* oklch */ color: oklch(52.2% 0.210 319.3);
Tailwind
colors: {
  custom: {
    50: '#bc72ca',
    500: '#9a2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #9a2eb3;
$custom-light: #bc72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2eb3",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 288.722,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52165,
    "c": 0.20972,
    "h": 319.3
  },
  "luminance": 0.12079
}

Semantic roles & 50–950 ramp

primary
#9A2EB3
secondary
#85C676
accent
#E24663
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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