#9F52AF#9F52AF

#9F52AF is a mid, vivid purple. Relative luminance 0.165; OKLCH L 56.8% C 0.159 H 320.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9F52AF
RGBrgb(159, 82, 175)
HSLhsl(290, 37%, 50%)
HSVhsv(290, 53%, 69%)
CMYKcmyk(9.1%, 53.1%, 0%, 31.4%)
CIE-LABlab(47.63, 46.33, -36.37)
CIE-LCHlch(47.63, 58.90, 321.87°)
OKLaboklab(56.79% 0.1223 -0.1008)
OKLCHoklch(56.79% 0.159 320.5)
XYZxyz(25.0523, 16.5017, 42.4146)
Luminance0.1650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F52AF #62AF52
analogous
#7052AF #9F52AF #AF5291
triadic
#9F52AF #AF9F52 #52AF9F
tetradic
#9F52AF #AF7052 #62AF52 #5291AF
square
#9F52AF #AF7052 #62AF52 #5291AF
split-complementary
#9F52AF #91AF52 #52AF70
monochromatic
#542B5C #7A3E86 #9F52AF #B67CC2 #CDA6D6

Accessibility & contrast

On white

4.88
#9F52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9F52AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F52AF
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F52AF#FFFFFF#000000##FFFFFF
##9F52AF1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426CB2
Deuteranopia (green-blind)
#5A74AC
Tritanopia (blue-blind)
#A05F79
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f52af;
/* rgb */ color: rgb(159, 82, 175);
/* oklch */ color: oklch(56.8% 0.159 320.5);
Tailwind
colors: {
  custom: {
    50: '#bd86c7',
    500: '#9f52af',
    950: '#000000',
  },
}
SCSS
$custom: #9f52af;
$custom-light: #bd86c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f52af",
  "rgb": {
    "r": 159,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 289.677,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56788,
    "c": 0.15852,
    "h": 320.5
  },
  "luminance": 0.16501
}

Semantic roles & 50–950 ramp

primary
#9F52AF
secondary
#A1C39A
accent
#CD5B6F
background
#FBF8FC
surface
#F7F0F8
border
#D0CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9F52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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