#9E27C9#9E27C9

#9E27C9 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.7% C 0.236 H 314.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9E27C9
RGBrgb(158, 39, 201)
HSLhsl(284, 68%, 47%)
HSVhsv(284, 81%, 79%)
CMYKcmyk(21.4%, 80.6%, 0%, 21.2%)
CIE-LABlab(42.67, 69.03, -59.47)
CIE-LCHlch(42.67, 91.12, 319.25°)
OKLaboklab(53.7% 0.1663 -0.1681)
OKLCHoklch(53.7% 0.236 314.7)
XYZxyz(25.3669, 12.9381, 56.4081)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E27C9 #52C927
analogous
#4D27C9 #9E27C9 #C927A3
triadic
#9E27C9 #C99E27 #27C99E
tetradic
#9E27C9 #C94D27 #52C927 #27A3C9
square
#9E27C9 #C94D27 #52C927 #27A3C9
split-complementary
#9E27C9 #A3C927 #27C94D
monochromatic
#4D1362 #761D96 #9E27C9 #B850DD #CD83E7

Accessibility & contrast

On white

5.85
#9E27C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9E27C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E27C9
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E27C9#FFFFFF#000000##FFFFFF
##9E27C91.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#1968C6
Tritanopia (blue-blind)
#9A4F7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9e27c9;
/* rgb */ color: rgb(158, 39, 201);
/* oklch */ color: oklch(53.7% 0.236 314.7);
Tailwind
colors: {
  custom: {
    50: '#c071da',
    500: '#9e27c9',
    950: '#000000',
  },
}
SCSS
$custom: #9e27c9;
$custom-light: #c071da;
$custom-dark: #000000;
JSON
{
  "hex": "#9e27c9",
  "rgb": {
    "r": 158,
    "g": 39,
    "b": 201
  },
  "hsl": {
    "h": 284.074,
    "s": 67.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.53695,
    "c": 0.23644,
    "h": 314.7
  },
  "luminance": 0.12937
}

Semantic roles & 50–950 ramp

primary
#9E27C9
secondary
#92D07C
accent
#EA3D6B
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9E27C9

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

Preview Lab → · Contrast checker → · Palette generator →

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