#9D27D0#9D27D0

#9D27D0 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 54.1% C 0.242 H 312.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9D27D0
RGBrgb(157, 39, 208)
HSLhsl(282, 68%, 48%)
HSVhsv(282, 81%, 82%)
CMYKcmyk(24.5%, 81.3%, 0%, 18.4%)
CIE-LABlab(43.02, 70.21, -62.96)
CIE-LCHlch(43.02, 94.31, 318.12°)
OKLaboklab(54.07% 0.1635 -0.1784)
OKLCHoklch(54.07% 0.242 312.5)
XYZxyz(26.0132, 13.1740, 60.8348)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D27D0 #5AD027
analogous
#4827D0 #9D27D0 #D027AF
triadic
#9D27D0 #D09D27 #27D09D
tetradic
#9D27D0 #D04827 #5AD027 #27AFD0
square
#9D27D0 #D04827 #5AD027 #27AFD0
split-complementary
#9D27D0 #AFD027 #27D048
monochromatic
#4F1469 #761D9C #9D27D0 #B555DF #CC89E9

Accessibility & contrast

On white

5.78
#9D27D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9D27D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D27D0
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D27D0#FFFFFF#000000##FFFFFF
##9D27D01.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D4
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#97537E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d27d0;
/* rgb */ color: rgb(157, 39, 208);
/* oklch */ color: oklch(54.1% 0.242 312.5);
Tailwind
colors: {
  custom: {
    50: '#bf71df',
    500: '#9d27d0',
    950: '#000000',
  },
}
SCSS
$custom: #9d27d0;
$custom-light: #bf71df;
$custom-dark: #000000;
JSON
{
  "hex": "#9d27d0",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 208
  },
  "hsl": {
    "h": 281.893,
    "s": 68.421,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54072,
    "c": 0.24198,
    "h": 312.5
  },
  "luminance": 0.13173
}

Semantic roles & 50–950 ramp

primary
#9D27D0
secondary
#99D280
accent
#EB3D71
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D27D0

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

Preview Lab → · Contrast checker → · Palette generator →

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