#9D27C2#9D27C2

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

Color values

HEX#9D27C2
RGBrgb(157, 39, 194)
HSLhsl(286, 67%, 46%)
HSVhsv(286, 80%, 76%)
CMYKcmyk(19.1%, 79.9%, 0%, 23.9%)
CIE-LABlab(42.02, 67.53, -56.45)
CIE-LCHlch(42.02, 88.02, 320.11°)
OKLaboklab(53.06% 0.1664 -0.1592)
OKLCHoklch(53.06% 0.23 316.2)
XYZxyz(24.3662, 12.5152, 52.1606)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D27C2 #4CC227
analogous
#4F27C2 #9D27C2 #C2279A
triadic
#9D27C2 #C29D27 #27C29D
tetradic
#9D27C2 #C24F27 #4CC227 #279AC2
square
#9D27C2 #C24F27 #4CC227 #279AC2
split-complementary
#9D27C2 #9AC227 #27C24F
monochromatic
#4B135C #741D8F #9D27C2 #B94BDB #CD7EE5

Accessibility & contrast

On white

6.00
#9D27C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9D27C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D27C2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D27C2#FFFFFF#000000##FFFFFF
##9D27C21.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)
#005CC6
Deuteranopia (green-blind)
#2566BF
Tritanopia (blue-blind)
#9A4C76
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9d27c2;
/* rgb */ color: rgb(157, 39, 194);
/* oklch */ color: oklch(53.1% 0.230 316.2);
Tailwind
colors: {
  custom: {
    50: '#bf70d5',
    500: '#9d27c2',
    950: '#000000',
  },
}
SCSS
$custom: #9d27c2;
$custom-light: #bf70d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d27c2",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 194
  },
  "hsl": {
    "h": 285.677,
    "s": 66.524,
    "l": 45.686
  },
  "oklch": {
    "l": 0.53056,
    "c": 0.23029,
    "h": 316.2
  },
  "luminance": 0.12514
}

Semantic roles & 50–950 ramp

primary
#9D27C2
secondary
#8CCE77
accent
#E93E67
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130814
muted
#827B83

Preview Lab

Preview with #9D27C2

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

Preview Lab → · Contrast checker → · Palette generator →

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