#9927CA#9927CA

#9927CA is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 53.1% C 0.236 H 312.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9927CA
RGBrgb(153, 39, 202)
HSLhsl(282, 68%, 47%)
HSVhsv(282, 81%, 79%)
CMYKcmyk(24.3%, 80.7%, 0%, 20.8%)
CIE-LABlab(41.98, 68.38, -61.21)
CIE-LCHlch(41.98, 91.77, 318.17°)
OKLaboklab(53.08% 0.1598 -0.1733)
OKLCHoklch(53.08% 0.236 312.7)
XYZxyz(24.5211, 12.4884, 56.9844)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9927CA #58CA27
analogous
#4727CA #9927CA #CA27AA
triadic
#9927CA #CA9927 #27CA99
tetradic
#9927CA #CA4727 #58CA27 #27AACA
square
#9927CA #CA4727 #58CA27 #27AACA
split-complementary
#9927CA #AACA27 #27CA47
monochromatic
#4B1363 #721D97 #9927CA #B351DD #C984E7

Accessibility & contrast

On white

6.00
#9927CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9927CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9927CA
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9927CA#FFFFFF#000000##FFFFFF
##9927CA1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#93507A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9927ca;
/* rgb */ color: rgb(153, 39, 202);
/* oklch */ color: oklch(53.1% 0.236 312.7);
Tailwind
colors: {
  custom: {
    50: '#bc70db',
    500: '#9927ca',
    950: '#000000',
  },
}
SCSS
$custom: #9927ca;
$custom-light: #bc70db;
$custom-dark: #000000;
JSON
{
  "hex": "#9927ca",
  "rgb": {
    "r": 153,
    "g": 39,
    "b": 202
  },
  "hsl": {
    "h": 281.963,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.23574,
    "h": 312.7
  },
  "luminance": 0.12488
}

Semantic roles & 50–950 ramp

primary
#9927CA
secondary
#96D07C
accent
#EB3D71
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130815
muted
#827B83

Preview Lab

Preview with #9927CA

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

Preview Lab → · Contrast checker → · Palette generator →

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