#9A2FB5#9A2FB5

#9A2FB5 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.210 H 318.6°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9A2FB5
RGBrgb(154, 47, 181)
HSLhsl(288, 59%, 45%)
HSVhsv(288, 74%, 71%)
CMYKcmyk(14.9%, 74%, 0%, 29%)
CIE-LABlab(41.60, 61.88, -49.53)
CIE-LCHlch(41.60, 79.26, 321.32°)
OKLaboklab(52.39% 0.1578 -0.1391)
OKLCHoklch(52.39% 0.21 318.6)
XYZxyz(22.6823, 12.2403, 44.8749)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FB5 #4AB52F
analogous
#572FB5 #9A2FB5 #B52F8D
triadic
#9A2FB5 #B59A2F #2FB59A
tetradic
#9A2FB5 #B5572F #4AB52F #2F8DB5
square
#9A2FB5 #B5572F #4AB52F #2F8DB5
split-complementary
#9A2FB5 #8DB52F #2FB557
monochromatic
#471654 #712284 #9A2FB5 #B750D1 #CB80DE

Accessibility & contrast

On white

6.09
#9A2FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9A2FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FB5
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FB5#FFFFFF#000000##FFFFFF
##9A2FB51.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3766B2
Tritanopia (blue-blind)
#9A4A70
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a2fb5;
/* rgb */ color: rgb(154, 47, 181);
/* oklch */ color: oklch(52.4% 0.210 318.6);
Tailwind
colors: {
  custom: {
    50: '#bc73cc',
    500: '#9a2fb5',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fb5;
$custom-light: #bc73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fb5",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 287.91,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52385,
    "c": 0.21036,
    "h": 318.6
  },
  "luminance": 0.12239
}

Semantic roles & 50–950 ramp

primary
#9A2FB5
secondary
#89C779
accent
#E24665
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9A2FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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