#9D27A4#9D27A4

#9D27A4 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.206 H 325.6°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9D27A4
RGBrgb(157, 39, 164)
HSLhsl(297, 62%, 40%)
HSVhsv(297, 76%, 64%)
CMYKcmyk(4.3%, 76.2%, 0%, 35.7%)
CIE-LABlab(40.08, 62.11, -41.82)
CIE-LCHlch(40.08, 74.88, 326.05°)
OKLaboklab(51.07% 0.1698 -0.1164)
OKLCHoklch(51.07% 0.206 325.6)
XYZxyz(21.3305, 11.3009, 36.1726)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D27A4 #2EA427
analogous
#5F27A4 #9D27A4 #A4276D
triadic
#9D27A4 #A49D27 #27A49D
tetradic
#9D27A4 #A45F27 #2EA427 #276DA4
square
#9D27A4 #A45F27 #2EA427 #276DA4
split-complementary
#9D27A4 #6DA427 #27A45F
monochromatic
#3E0F41 #6E1B73 #9D27A4 #C738D0 #D56ADC

Accessibility & contrast

On white

6.44
#9D27A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#9D27A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D27A4
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D27A4#FFFFFF#000000##FFFFFF
##9D27A41.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#4363A1
Tritanopia (blue-blind)
#A13D64
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d27a4;
/* rgb */ color: rgb(157, 39, 164);
/* oklch */ color: oklch(51.1% 0.206 325.6);
Tailwind
colors: {
  custom: {
    50: '#be6fbf',
    500: '#9d27a4',
    950: '#000000',
  },
}
SCSS
$custom: #9d27a4;
$custom-light: #be6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d27a4",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 296.64,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51066,
    "c": 0.20589,
    "h": 325.6
  },
  "luminance": 0.11299
}

Semantic roles & 50–950 ramp

primary
#9D27A4
secondary
#6AC265
accent
#E5434C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9D27A4

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

Preview Lab → · Contrast checker → · Palette generator →

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