#9A2FB4#9A2FB4

#9A2FB4 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.3% C 0.209 H 318.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#9A2FB4
RGBrgb(154, 47, 180)
HSLhsl(288, 59%, 45%)
HSVhsv(288, 74%, 71%)
CMYKcmyk(14.4%, 73.9%, 0%, 29.4%)
CIE-LABlab(41.53, 61.69, -49.05)
CIE-LCHlch(41.53, 78.81, 321.51°)
OKLaboklab(52.32% 0.1579 -0.1377)
OKLCHoklch(52.32% 0.209 318.9)
XYZxyz(22.5801, 12.1994, 44.3365)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FB4 #49B42F
analogous
#582FB4 #9A2FB4 #B42F8B
triadic
#9A2FB4 #B49A2F #2FB49A
tetradic
#9A2FB4 #B4582F #49B42F #2F8BB4
square
#9A2FB4 #B4582F #49B42F #2F8BB4
split-complementary
#9A2FB4 #8BB42F #2FB458
monochromatic
#471653 #702283 #9A2FB4 #B84FD1 #CB80DE

Accessibility & contrast

On white

6.11
#9A2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9A2FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FB4
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FB4#FFFFFF#000000##FFFFFF
##9A2FB41.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB8
Deuteranopia (green-blind)
#3865B1
Tritanopia (blue-blind)
#9A4A6F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a2fb4;
/* rgb */ color: rgb(154, 47, 180);
/* oklch */ color: oklch(52.3% 0.209 318.9);
Tailwind
colors: {
  custom: {
    50: '#bc72cb',
    500: '#9a2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fb4;
$custom-light: #bc72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fb4",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 288.271,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52319,
    "c": 0.20949,
    "h": 318.9
  },
  "luminance": 0.12198
}

Semantic roles & 50–950 ramp

primary
#9A2FB4
secondary
#88C778
accent
#E24664
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9A2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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