#9A2AAF#9A2AAF

#9A2AAF is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.6% C 0.211 H 320.7°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9A2AAF
RGBrgb(154, 42, 175)
HSLhsl(291, 61%, 43%)
HSVhsv(291, 76%, 69%)
CMYKcmyk(12%, 76%, 0%, 31.4%)
CIE-LABlab(40.61, 62.48, -47.57)
CIE-LCHlch(40.61, 78.53, 322.72°)
OKLaboklab(51.56% 0.1629 -0.1333)
OKLCHoklch(51.56% 0.211 320.7)
XYZxyz(21.8913, 11.6223, 41.6394)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2AAF #3FAF2A
analogous
#572AAF #9A2AAF #AF2A82
triadic
#9A2AAF #AF9A2A #2AAF9A
tetradic
#9A2AAF #AF572A #3FAF2A #2A82AF
square
#9A2AAF #AF572A #3FAF2A #2A82AF
split-complementary
#9A2AAF #82AF2A #2AAF57
monochromatic
#43124C #6F1E7E #9A2AAF #BC44D2 #CD75DE

Accessibility & contrast

On white

6.32
#9A2AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9A2AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2AAF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2AAF#FFFFFF#000000##FFFFFF
##9A2AAF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3964AC
Tritanopia (blue-blind)
#9B456B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9a2aaf;
/* rgb */ color: rgb(154, 42, 175);
/* oklch */ color: oklch(51.6% 0.211 320.7);
Tailwind
colors: {
  custom: {
    50: '#bc70c7',
    500: '#9a2aaf',
    950: '#000000',
  },
}
SCSS
$custom: #9a2aaf;
$custom-light: #bc70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2aaf",
  "rgb": {
    "r": 154,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 290.526,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51562,
    "c": 0.21053,
    "h": 320.7
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#9A2AAF
secondary
#7DC66F
accent
#E4435D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9A2AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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