#9A2F99#9A2F99

#9A2F99 is a mid, vivid purple. Relative luminance 0.112; OKLCH L 50.7% C 0.187 H 328.3°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9A2F99
RGBrgb(154, 47, 153)
HSLhsl(301, 53%, 39%)
HSVhsv(301, 69%, 60%)
CMYKcmyk(0%, 69.5%, 0.6%, 39.6%)
CIE-LABlab(39.92, 56.81, -35.49)
CIE-LCHlch(39.92, 66.98, 328.01°)
OKLaboklab(50.65% 0.1589 -0.0981)
OKLCHoklch(50.65% 0.187 328.3)
XYZxyz(20.0925, 11.2044, 31.2352)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2F99 #2F9A30
analogous
#662F9A #9A2F99 #9A2F64
triadic
#9A2F99 #999A2F #2F999A
tetradic
#9A2F99 #9A662F #2F9A30 #2F649A
square
#9A2F99 #9A662F #2F9A30 #2F649A
split-complementary
#9A2F99 #649A2F #2F9A66
monochromatic
#3C123C #6B216A #9A2F99 #C541C4 #D370D2

Accessibility & contrast

On white

6.48
#9A2F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9A2F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2F99
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2F99#FFFFFF#000000##FFFFFF
##9A2F991.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F559C
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#9F3E60
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9a2f99;
/* rgb */ color: rgb(154, 47, 153);
/* oklch */ color: oklch(50.7% 0.187 328.3);
Tailwind
colors: {
  custom: {
    50: '#bb71b7',
    500: '#9a2f99',
    950: '#000000',
  },
}
SCSS
$custom: #9a2f99;
$custom-light: #bb71b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2f99",
  "rgb": {
    "r": 154,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 300.561,
    "s": 53.234,
    "l": 39.412
  },
  "oklch": {
    "l": 0.50652,
    "c": 0.18672,
    "h": 328.3
  },
  "luminance": 0.11203
}

Semantic roles & 50–950 ramp

primary
#9A2F99
secondary
#6ABB6B
accent
#DD4D4B
background
#FBF7FB
surface
#F7EDF6
border
#D0C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9A2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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