#9F52BB#9F52BB

#9F52BB is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.5% C 0.171 H 316.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9F52BB
RGBrgb(159, 82, 187)
HSLhsl(284, 44%, 53%)
HSVhsv(284, 56%, 73%)
CMYKcmyk(15%, 56.1%, 0%, 26.7%)
CIE-LABlab(48.25, 48.80, -42.38)
CIE-LCHlch(48.25, 64.63, 319.03°)
OKLaboklab(57.45% 0.1234 -0.1183)
OKLCHoklch(57.45% 0.171 316.2)
XYZxyz(26.2837, 16.9943, 48.8998)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F52BB #6EBB52
analogous
#6A52BB #9F52BB #BB52A2
triadic
#9F52BB #BB9F52 #52BB9F
tetradic
#9F52BB #BB6A52 #6EBB52 #52A2BB
square
#9F52BB #BB6A52 #6EBB52 #52A2BB
split-complementary
#9F52BB #A2BB52 #52BB6A
monochromatic
#582969 #7D3B95 #9F52BB #B77ECC #D0AADE

Accessibility & contrast

On white

4.77
#9F52BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9F52BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F52BB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F52BB#FFFFFF#000000##FFFFFF
##9F52BB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#386EBE
Deuteranopia (green-blind)
#5375B8
Tritanopia (blue-blind)
#9E637F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f52bb;
/* rgb */ color: rgb(159, 82, 187);
/* oklch */ color: oklch(57.5% 0.171 316.2);
Tailwind
colors: {
  custom: {
    50: '#be86d0',
    500: '#9f52bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f52bb;
$custom-light: #be86d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f52bb",
  "rgb": {
    "r": 159,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 284,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57452,
    "c": 0.17092,
    "h": 316.2
  },
  "luminance": 0.16993
}

Semantic roles & 50–950 ramp

primary
#9F52BB
secondary
#AACB9E
accent
#D35476
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9F52BB

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

Preview Lab → · Contrast checker → · Palette generator →

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