#9A2FB3#9A2FB3

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

Color values

HEX#9A2FB3
RGBrgb(154, 47, 179)
HSLhsl(289, 58%, 44%)
HSVhsv(289, 74%, 70%)
CMYKcmyk(14%, 73.7%, 0%, 29.8%)
CIE-LABlab(41.47, 61.50, -48.56)
CIE-LCHlch(41.47, 78.36, 321.71°)
OKLaboklab(52.25% 0.158 -0.1362)
OKLCHoklch(52.25% 0.209 319.2)
XYZxyz(22.4786, 12.1588, 43.8019)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2FB3 #48B32F
analogous
#582FB3 #9A2FB3 #B32F8A
triadic
#9A2FB3 #B39A2F #2FB39A
tetradic
#9A2FB3 #B3582F #48B32F #2F8AB3
square
#9A2FB3 #B3582F #48B32F #2F8AB3
split-complementary
#9A2FB3 #8AB32F #2FB358
monochromatic
#471652 #702283 #9A2FB3 #B84FD1 #CC7FDD

Accessibility & contrast

On white

6.12
#9A2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9A2FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2FB3
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2FB3#FFFFFF#000000##FFFFFF
##9A2FB31.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3965B0
Tritanopia (blue-blind)
#9A4A6F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9a2fb3;
/* rgb */ color: rgb(154, 47, 179);
/* oklch */ color: oklch(52.3% 0.209 319.2);
Tailwind
colors: {
  custom: {
    50: '#bc72ca',
    500: '#9a2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #9a2fb3;
$custom-light: #bc72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2fb3",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 288.636,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52253,
    "c": 0.20863,
    "h": 319.2
  },
  "luminance": 0.12158
}

Semantic roles & 50–950 ramp

primary
#9A2FB3
secondary
#86C678
accent
#E24664
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9A2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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