#9F52BF#9F52BF

#9F52BF is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.7% C 0.175 H 314.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9F52BF
RGBrgb(159, 82, 191)
HSLhsl(282, 46%, 54%)
HSVhsv(282, 57%, 75%)
CMYKcmyk(16.8%, 57.1%, 0%, 25.1%)
CIE-LABlab(48.47, 49.64, -44.35)
CIE-LCHlch(48.47, 66.57, 318.22°)
OKLaboklab(57.68% 0.1236 -0.124)
OKLCHoklch(57.68% 0.175 314.9)
XYZxyz(26.7178, 17.1679, 51.1864)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F52BF #72BF52
analogous
#6852BF #9F52BF #BF52A9
triadic
#9F52BF #BF9F52 #52BF9F
tetradic
#9F52BF #BF6852 #72BF52 #52A9BF
square
#9F52BF #BF6852 #72BF52 #52A9BF
split-complementary
#9F52BF #A9BF52 #52BF68
monochromatic
#5A296E #7E399B #9F52BF #B87FD0 #D1ABE0

Accessibility & contrast

On white

4.74
#9F52BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9F52BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F52BF
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F52BF#FFFFFF#000000##FFFFFF
##9F52BF1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346FC3
Deuteranopia (green-blind)
#5075BC
Tritanopia (blue-blind)
#9D6481
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9f52bf;
/* rgb */ color: rgb(159, 82, 191);
/* oklch */ color: oklch(57.7% 0.175 314.9);
Tailwind
colors: {
  custom: {
    50: '#be86d3',
    500: '#9f52bf',
    950: '#000000',
  },
}
SCSS
$custom: #9f52bf;
$custom-light: #be86d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f52bf",
  "rgb": {
    "r": 159,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 282.385,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57683,
    "c": 0.17512,
    "h": 314.9
  },
  "luminance": 0.17167
}

Semantic roles & 50–950 ramp

primary
#9F52BF
secondary
#ADCE9F
accent
#D65279
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9F52BF

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

Preview Lab → · Contrast checker → · Palette generator →

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