#9F27A4#9F27A4

#9F27A4 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.4% C 0.207 H 326.3°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9F27A4
RGBrgb(159, 39, 164)
HSLhsl(298, 62%, 40%)
HSVhsv(298, 76%, 64%)
CMYKcmyk(3%, 76.2%, 0%, 35.7%)
CIE-LABlab(40.42, 62.53, -41.27)
CIE-LCHlch(40.42, 74.92, 326.58°)
OKLaboklab(51.37% 0.172 -0.1148)
OKLCHoklch(51.37% 0.207 326.3)
XYZxyz(21.7240, 11.5038, 36.1910)
Luminance0.1150 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F27A4 #2CA427
analogous
#6127A4 #9F27A4 #A4276B
triadic
#9F27A4 #A49F27 #27A49F
tetradic
#9F27A4 #A46127 #2CA427 #276BA4
square
#9F27A4 #A46127 #2CA427 #276BA4
split-complementary
#9F27A4 #6BA427 #27A461
monochromatic
#3F0F41 #6F1B73 #9F27A4 #CA38D0 #D76ADC

Accessibility & contrast

On white

6.36
#9F27A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9F27A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F27A4
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F27A4#FFFFFF#000000##FFFFFF
##9F27A41.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056A7
Deuteranopia (green-blind)
#4564A1
Tritanopia (blue-blind)
#A33D64
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f27a4;
/* rgb */ color: rgb(159, 39, 164);
/* oklch */ color: oklch(51.4% 0.207 326.3);
Tailwind
colors: {
  custom: {
    50: '#bf6fbf',
    500: '#9f27a4',
    950: '#000000',
  },
}
SCSS
$custom: #9f27a4;
$custom-light: #bf6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f27a4",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 164
  },
  "hsl": {
    "h": 297.6,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51368,
    "c": 0.2068,
    "h": 326.3
  },
  "luminance": 0.11502
}

Semantic roles & 50–950 ramp

primary
#9F27A4
secondary
#69C265
accent
#E5434A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81

Preview Lab

Preview with #9F27A4

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

Preview Lab → · Contrast checker → · Palette generator →

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