#9F52DD#9F52DD

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

Color values

HEX#9F52DD
RGBrgb(159, 82, 221)
HSLhsl(273, 67%, 59%)
HSVhsv(273, 63%, 87%)
CMYKcmyk(28.1%, 62.9%, 0%, 13.3%)
CIE-LABlab(50.25, 56.25, -58.71)
CIE-LCHlch(50.25, 81.31, 313.77°)
OKLaboklab(59.55% 0.1235 -0.1661)
OKLCHoklch(59.55% 0.207 306.6)
XYZxyz(30.3637, 18.6263, 70.3882)
Luminance0.1863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F52DD #90DD52
analogous
#5952DD #9F52DD #DD52D6
triadic
#9F52DD #DD9F52 #52DD9F
tetradic
#9F52DD #DD5952 #90DD52 #52D6DD
square
#9F52DD #DD5952 #90DD52 #52D6DD
split-complementary
#9F52DD #D6DD52 #52DD59
monochromatic
#611E97 #8228CA #9F52DD #BB85E7 #D8B8F1

Accessibility & contrast

On white

4.44
#9F52DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9F52DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F52DD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F52DD#FFFFFF#000000##000000
##9F52DD1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#3578DA
Tritanopia (blue-blind)
#956F90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f52dd;
/* rgb */ color: rgb(159, 82, 221);
/* oklch */ color: oklch(59.5% 0.207 306.6);
Tailwind
colors: {
  custom: {
    50: '#bf87e8',
    500: '#9f52dd',
    950: '#000000',
  },
}
SCSS
$custom: #9f52dd;
$custom-light: #bf87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f52dd",
  "rgb": {
    "r": 159,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 273.237,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59546,
    "c": 0.20695,
    "h": 306.6
  },
  "luminance": 0.18626
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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