#9F52DA#9F52DA

#9F52DA is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.204 H 307.4°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9F52DA
RGBrgb(159, 82, 218)
HSLhsl(274, 65%, 59%)
HSVhsv(274, 62%, 85%)
CMYKcmyk(27.1%, 62.4%, 0%, 14.5%)
CIE-LABlab(50.06, 55.57, -57.31)
CIE-LCHlch(50.06, 79.83, 314.12°)
OKLaboklab(59.35% 0.1236 -0.162)
OKLCHoklch(59.35% 0.204 307.4)
XYZxyz(29.9676, 18.4678, 68.3020)
Luminance0.1847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F52DA #8DDA52
analogous
#5B52DA #9F52DA #DA52D1
triadic
#9F52DA #DA9F52 #52DA9F
tetradic
#9F52DA #DA5B52 #8DDA52 #52D1DA
square
#9F52DA #DA5B52 #8DDA52 #52D1DA
split-complementary
#9F52DA #D1DA52 #52DA5B
monochromatic
#601F92 #822AC5 #9F52DA #BB84E5 #D7B7F0

Accessibility & contrast

On white

4.47
#9F52DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9F52DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F52DA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F52DA#FFFFFF#000000##000000
##9F52DA1.004.474.694.69
#FFFFFF4.471.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#3878D7
Tritanopia (blue-blind)
#966E8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9f52da;
/* rgb */ color: rgb(159, 82, 218);
/* oklch */ color: oklch(59.3% 0.204 307.4);
Tailwind
colors: {
  custom: {
    50: '#bf87e6',
    500: '#9f52da',
    950: '#000000',
  },
}
SCSS
$custom: #9f52da;
$custom-light: #bf87e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f52da",
  "rgb": {
    "r": 159,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 273.971,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59349,
    "c": 0.20376,
    "h": 307.4
  },
  "luminance": 0.18467
}

Semantic roles & 50–950 ramp

primary
#9F52DA
secondary
#C0DFA9
accent
#E84089
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F52DA

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

Preview Lab → · Contrast checker → · Palette generator →

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