#9A2AB3#9A2AB3

#9A2AB3 is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.8% C 0.214 H 319.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9A2AB3
RGBrgb(154, 42, 179)
HSLhsl(289, 62%, 43%)
HSVhsv(289, 77%, 70%)
CMYKcmyk(14%, 76.5%, 0%, 29.8%)
CIE-LABlab(40.87, 63.22, -49.52)
CIE-LCHlch(40.87, 80.31, 321.93°)
OKLaboklab(51.83% 0.1625 -0.139)
OKLCHoklch(51.83% 0.214 319.4)
XYZxyz(22.2900, 11.7817, 43.7391)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2AB3 #43B32A
analogous
#552AB3 #9A2AB3 #B32A87
triadic
#9A2AB3 #B39A2A #2AB39A
tetradic
#9A2AB3 #B3552A #43B32A #2A87B3
square
#9A2AB3 #B3552A #43B32A #2A87B3
split-complementary
#9A2AB3 #87B32A #2AB355
monochromatic
#451350 #6F1E81 #9A2AB3 #BA46D4 #CC78DF

Accessibility & contrast

On white

6.26
#9A2AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9A2AB3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2AB3#FFFFFF#000000##FFFFFF
##9A2AB31.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B7
Deuteranopia (green-blind)
#3564B0
Tritanopia (blue-blind)
#9A476E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2ab3;
/* rgb */ color: rgb(154, 42, 179);
/* oklch */ color: oklch(51.8% 0.214 319.4);
Tailwind
colors: {
  custom: {
    50: '#bc70ca',
    500: '#9a2ab3',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ab3;
$custom-light: #bc70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ab3",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 289.051,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.21388,
    "h": 319.4
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#9A2AB3
secondary
#81C772
accent
#E54360
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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