#9927AF#9927AF

#9927AF is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.213 H 320.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9927AF
RGBrgb(153, 39, 175)
HSLhsl(290, 64%, 42%)
HSVhsv(290, 78%, 69%)
CMYKcmyk(12.6%, 77.7%, 0%, 31.4%)
CIE-LABlab(40.11, 63.25, -48.37)
CIE-LCHlch(40.11, 79.63, 322.59°)
OKLaboklab(51.18% 0.1643 -0.1357)
OKLCHoklch(51.18% 0.213 320.5)
XYZxyz(21.5993, 11.3196, 41.5963)
Luminance0.1132 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9927AF #3DAF27
analogous
#5527AF #9927AF #AF2781
triadic
#9927AF #AF9927 #27AF99
tetradic
#9927AF #AF5527 #3DAF27 #2781AF
square
#9927AF #AF5527 #3DAF27 #2781AF
split-complementary
#9927AF #81AF27 #27AF55
monochromatic
#41114B #6D1C7D #9927AF #BC3FD4 #CE71DF

Accessibility & contrast

On white

6.43
#9927AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9927AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9927AF
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9927AF#FFFFFF#000000##FFFFFF
##9927AF1.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#3662AC
Tritanopia (blue-blind)
#9A446B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9927af;
/* rgb */ color: rgb(153, 39, 175);
/* oklch */ color: oklch(51.2% 0.213 320.5);
Tailwind
colors: {
  custom: {
    50: '#bb6fc7',
    500: '#9927af',
    950: '#000000',
  },
}
SCSS
$custom: #9927af;
$custom-light: #bb6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9927af",
  "rgb": {
    "r": 153,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 290.294,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5118,
    "c": 0.2131,
    "h": 320.5
  },
  "luminance": 0.11318
}

Semantic roles & 50–950 ramp

primary
#9927AF
secondary
#7AC66B
accent
#E7415C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9927AF

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

Preview Lab → · Contrast checker → · Palette generator →

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