#9F27AD#9F27AD

#9F27AD is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.214 H 323.3°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#9F27AD
RGBrgb(159, 39, 173)
HSLhsl(294, 63%, 42%)
HSVhsv(294, 77%, 68%)
CMYKcmyk(8.1%, 77.5%, 0%, 32.2%)
CIE-LABlab(40.96, 64.08, -45.77)
CIE-LCHlch(40.96, 78.75, 324.46°)
OKLaboklab(51.93% 0.1715 -0.1279)
OKLCHoklch(51.93% 0.214 323.3)
XYZxyz(22.5657, 11.8405, 40.6239)
Luminance0.1184 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F27AD #35AD27
analogous
#5C27AD #9F27AD #AD2778
triadic
#9F27AD #AD9F27 #27AD9F
tetradic
#9F27AD #AD5C27 #35AD27 #2778AD
square
#9F27AD #AD5C27 #35AD27 #2778AD
split-complementary
#9F27AD #78AD27 #27AD5C
monochromatic
#431049 #711C7B #9F27AD #C43ED3 #D370DF

Accessibility & contrast

On white

6.24
#9F27AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#9F27AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F27AD
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F27AD#FFFFFF#000000##FFFFFF
##9F27AD1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B1
Deuteranopia (green-blind)
#3F65AA
Tritanopia (blue-blind)
#A24169
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f27ad;
/* rgb */ color: rgb(159, 39, 173);
/* oklch */ color: oklch(51.9% 0.214 323.3);
Tailwind
colors: {
  custom: {
    50: '#bf6fc6',
    500: '#9f27ad',
    950: '#000000',
  },
}
SCSS
$custom: #9f27ad;
$custom-light: #bf6fc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f27ad",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 293.731,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5193,
    "c": 0.21391,
    "h": 323.3
  },
  "luminance": 0.11839
}

Semantic roles & 50–950 ramp

primary
#9F27AD
secondary
#74C66A
accent
#E64253
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F27AD

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

Preview Lab → · Contrast checker → · Palette generator →

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