#9D27AF#9D27AF

#9D27AF is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.215 H 321.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#9D27AF
RGBrgb(157, 39, 175)
HSLhsl(292, 64%, 42%)
HSVhsv(292, 78%, 69%)
CMYKcmyk(10.3%, 77.7%, 0%, 31.4%)
CIE-LABlab(40.76, 64.04, -47.30)
CIE-LCHlch(40.76, 79.61, 323.55°)
OKLaboklab(51.76% 0.169 -0.1324)
OKLCHoklch(51.76% 0.215 321.9)
XYZxyz(22.3672, 11.7156, 41.6323)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D27AF #39AF27
analogous
#5927AF #9D27AF #AF277D
triadic
#9D27AF #AF9D27 #27AF9D
tetradic
#9D27AF #AF5927 #39AF27 #277DAF
square
#9D27AF #AF5927 #39AF27 #277DAF
split-complementary
#9D27AF #7DAF27 #27AF59
monochromatic
#43114B #701C7D #9D27AF #C03FD4 #D171DF

Accessibility & contrast

On white

6.28
#9D27AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9D27AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D27AF
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D27AF#FFFFFF#000000##FFFFFF
##9D27AF1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3B64AC
Tritanopia (blue-blind)
#9F436B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9d27af;
/* rgb */ color: rgb(157, 39, 175);
/* oklch */ color: oklch(51.8% 0.215 321.9);
Tailwind
colors: {
  custom: {
    50: '#be6fc7',
    500: '#9d27af',
    950: '#000000',
  },
}
SCSS
$custom: #9d27af;
$custom-light: #be6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d27af",
  "rgb": {
    "r": 157,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 292.059,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51764,
    "c": 0.2147,
    "h": 321.9
  },
  "luminance": 0.11714
}

Semantic roles & 50–950 ramp

primary
#9D27AF
secondary
#78C66B
accent
#E74157
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9D27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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