#9F47AF#9F47AF

#9F47AF is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.3% C 0.176 H 321.2°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9F47AF
RGBrgb(159, 71, 175)
HSLhsl(291, 42%, 48%)
HSVhsv(291, 59%, 69%)
CMYKcmyk(9.1%, 59.4%, 0%, 31.4%)
CIE-LABlab(45.60, 51.78, -39.57)
CIE-LCHlch(45.60, 65.17, 322.61°)
OKLaboklab(55.3% 0.1371 -0.11)
OKLCHoklch(55.3% 0.176 321.2)
XYZxyz(24.2883, 14.9737, 42.1600)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F47AF #57AF47
analogous
#6B47AF #9F47AF #AF478B
triadic
#9F47AF #AF9F47 #47AF9F
tetradic
#9F47AF #AF6B47 #57AF47 #478BAF
square
#9F47AF #AF6B47 #57AF47 #478BAF
split-complementary
#9F47AF #8BAF47 #47AF6B
monochromatic
#502458 #773583 #9F47AF #B76FC4 #CD9AD6

Accessibility & contrast

On white

5.26
#9F47AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9F47AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F47AF
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F47AF#FFFFFF#000000##FFFFFF
##9F47AF1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3166B2
Deuteranopia (green-blind)
#526FAC
Tritanopia (blue-blind)
#A05774
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f47af;
/* rgb */ color: rgb(159, 71, 175);
/* oklch */ color: oklch(55.3% 0.176 321.2);
Tailwind
colors: {
  custom: {
    50: '#be7fc7',
    500: '#9f47af',
    950: '#000000',
  },
}
SCSS
$custom: #9f47af;
$custom-light: #be7fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f47af",
  "rgb": {
    "r": 159,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 290.769,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.55302,
    "c": 0.17577,
    "h": 321.2
  },
  "luminance": 0.14973
}

Semantic roles & 50–950 ramp

primary
#9F47AF
secondary
#97C28F
accent
#D25669
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9F47AF

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

Preview Lab → · Contrast checker → · Palette generator →

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