#9F27AF#9F27AF

#9F27AF is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.216 H 322.6°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9F27AF
RGBrgb(159, 39, 175)
HSLhsl(293, 64%, 42%)
HSVhsv(293, 78%, 69%)
CMYKcmyk(9.1%, 77.7%, 0%, 31.4%)
CIE-LABlab(41.09, 64.43, -46.76)
CIE-LCHlch(41.09, 79.61, 324.03°)
OKLaboklab(52.06% 0.1713 -0.1308)
OKLCHoklch(52.06% 0.216 322.6)
XYZxyz(22.7607, 11.9185, 41.6508)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F27AF #37AF27
analogous
#5B27AF #9F27AF #AF277B
triadic
#9F27AF #AF9F27 #27AF9F
tetradic
#9F27AF #AF5B27 #37AF27 #277BAF
square
#9F27AF #AF5B27 #37AF27 #277BAF
split-complementary
#9F27AF #7BAF27 #27AF5B
monochromatic
#44114B #721C7D #9F27AF #C33FD4 #D271DF

Accessibility & contrast

On white

6.21
#9F27AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9F27AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F27AF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F27AF#FFFFFF#000000##FFFFFF
##9F27AF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B3
Deuteranopia (green-blind)
#3D65AC
Tritanopia (blue-blind)
#A1426B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f27af;
/* rgb */ color: rgb(159, 39, 175);
/* oklch */ color: oklch(52.1% 0.216 322.6);
Tailwind
colors: {
  custom: {
    50: '#bf70c7',
    500: '#9f27af',
    950: '#000000',
  },
}
SCSS
$custom: #9f27af;
$custom-light: #bf70c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f27af",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 292.941,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52059,
    "c": 0.21552,
    "h": 322.6
  },
  "luminance": 0.11917
}

Semantic roles & 50–950 ramp

primary
#9F27AF
secondary
#76C66B
accent
#E74155
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82

Preview Lab

Preview with #9F27AF

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

Preview Lab → · Contrast checker → · Palette generator →

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