#9E27A9#9E27A9

#9E27A9 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.210 H 324.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#9E27A9
RGBrgb(158, 39, 169)
HSLhsl(295, 63%, 41%)
HSVhsv(295, 77%, 66%)
CMYKcmyk(6.5%, 76.9%, 0%, 33.7%)
CIE-LABlab(40.55, 63.18, -44.06)
CIE-LCHlch(40.55, 77.02, 325.11°)
OKLaboklab(51.53% 0.1706 -0.1229)
OKLCHoklch(51.53% 0.21 324.2)
XYZxyz(21.9869, 11.5861, 38.6067)
Luminance0.1158 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E27A9 #32A927
analogous
#5D27A9 #9E27A9 #A92773
triadic
#9E27A9 #A99E27 #27A99E
tetradic
#9E27A9 #A95D27 #32A927 #2773A9
square
#9E27A9 #A95D27 #32A927 #2773A9
split-complementary
#9E27A9 #73A927 #27A95D
monochromatic
#411046 #701C77 #9E27A9 #C53BD2 #D46DDD

Accessibility & contrast

On white

6.33
#9E27A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9E27A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E27A9
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E27A9#FFFFFF#000000##FFFFFF
##9E27A91.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057AC
Deuteranopia (green-blind)
#4164A6
Tritanopia (blue-blind)
#A14067
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9e27a9;
/* rgb */ color: rgb(158, 39, 169);
/* oklch */ color: oklch(51.5% 0.210 324.2);
Tailwind
colors: {
  custom: {
    50: '#bf6fc3',
    500: '#9e27a9',
    950: '#000000',
  },
}
SCSS
$custom: #9e27a9;
$custom-light: #bf6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e27a9",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 169
  },
  "hsl": {
    "h": 294.923,
    "s": 62.5,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51528,
    "c": 0.2103,
    "h": 324.2
  },
  "luminance": 0.11585
}

Semantic roles & 50–950 ramp

primary
#9E27A9
secondary
#70C468
accent
#E64250
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9E27A9

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

Preview Lab → · Contrast checker → · Palette generator →

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