#9927A2#9927A2

#9927A2 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.203 H 324.8°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#9927A2
RGBrgb(153, 39, 162)
HSLhsl(296, 61%, 39%)
HSVhsv(296, 76%, 64%)
CMYKcmyk(5.6%, 75.9%, 0%, 36.5%)
CIE-LABlab(39.30, 60.93, -41.91)
CIE-LCHlch(39.30, 73.95, 325.48°)
OKLaboklab(50.34% 0.1654 -0.1168)
OKLCHoklch(50.34% 0.203 324.8)
XYZxyz(20.3835, 10.8333, 35.1928)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9927A2 #30A227
analogous
#5C27A2 #9927A2 #A2276E
triadic
#9927A2 #A29927 #27A299
tetradic
#9927A2 #A25C27 #30A227 #276EA2
square
#9927A2 #A25C27 #30A227 #276EA2
split-complementary
#9927A2 #6EA227 #27A25C
monochromatic
#3C0F3F #6A1B71 #9927A2 #C437CF #D269DB

Accessibility & contrast

On white

6.63
#9927A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#9927A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9927A2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9927A2#FFFFFF#000000##FFFFFF
##9927A21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#41619F
Tritanopia (blue-blind)
#9C3D63
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9927a2;
/* rgb */ color: rgb(153, 39, 162);
/* oklch */ color: oklch(50.3% 0.203 324.8);
Tailwind
colors: {
  custom: {
    50: '#bb6ebe',
    500: '#9927a2',
    950: '#000000',
  },
}
SCSS
$custom: #9927a2;
$custom-light: #bb6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9927a2",
  "rgb": {
    "r": 153,
    "g": 39,
    "b": 162
  },
  "hsl": {
    "h": 295.61,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5034,
    "c": 0.20251,
    "h": 324.8
  },
  "luminance": 0.10832
}

Semantic roles & 50–950 ramp

primary
#9927A2
secondary
#6BC164
accent
#E4434F
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9927A2

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

Preview Lab → · Contrast checker → · Palette generator →

#9927A2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva