#9F52DC#9F52DC

#9F52DC is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.5% C 0.206 H 306.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9F52DC
RGBrgb(159, 82, 220)
HSLhsl(273, 66%, 59%)
HSVhsv(273, 63%, 86%)
CMYKcmyk(27.7%, 62.7%, 0%, 13.7%)
CIE-LABlab(50.18, 56.03, -58.25)
CIE-LCHlch(50.18, 80.82, 313.89°)
OKLaboklab(59.48% 0.1235 -0.1647)
OKLCHoklch(59.48% 0.206 306.9)
XYZxyz(30.2309, 18.5732, 69.6887)
Luminance0.1857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F52DC #8FDC52
analogous
#5A52DC #9F52DC #DC52D4
triadic
#9F52DC #DC9F52 #52DC9F
tetradic
#9F52DC #DC5A52 #8FDC52 #52D4DC
square
#9F52DC #DC5A52 #8FDC52 #52D4DC
split-complementary
#9F52DC #D4DC52 #52DC5A
monochromatic
#611E95 #8229C8 #9F52DC #BB85E6 #D7B8F1

Accessibility & contrast

On white

4.45
#9F52DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9F52DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F52DC
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F52DC#FFFFFF#000000##000000
##9F52DC1.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#3678D9
Tritanopia (blue-blind)
#956E90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f52dc;
/* rgb */ color: rgb(159, 82, 220);
/* oklch */ color: oklch(59.5% 0.206 306.9);
Tailwind
colors: {
  custom: {
    50: '#bf87e8',
    500: '#9f52dc',
    950: '#000000',
  },
}
SCSS
$custom: #9f52dc;
$custom-light: #bf87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f52dc",
  "rgb": {
    "r": 159,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 273.478,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.5948,
    "c": 0.20589,
    "h": 306.9
  },
  "luminance": 0.18573
}

Semantic roles & 50–950 ramp

primary
#9F52DC
secondary
#C2E0AA
accent
#E93F8A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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