#9F52DE#9F52DE

#9F52DE is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.208 H 306.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9F52DE
RGBrgb(159, 82, 222)
HSLhsl(273, 68%, 60%)
HSVhsv(273, 63%, 87%)
CMYKcmyk(28.4%, 63.1%, 0%, 12.9%)
CIE-LABlab(50.31, 56.48, -59.18)
CIE-LCHlch(50.31, 81.81, 313.66°)
OKLaboklab(59.61% 0.1234 -0.1674)
OKLCHoklch(59.61% 0.208 306.4)
XYZxyz(30.4974, 18.6797, 71.0920)
Luminance0.1868 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F52DE #91DE52
analogous
#5952DE #9F52DE #DE52D7
triadic
#9F52DE #DE9F52 #52DE9F
tetradic
#9F52DE #DE5952 #91DE52 #52D7DE
square
#9F52DE #DE5952 #91DE52 #52D7DE
split-complementary
#9F52DE #D7DE52 #52DE59
monochromatic
#611D99 #8227CC #9F52DE #BC85E8 #D8B9F2

Accessibility & contrast

On white

4.43
#9F52DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9F52DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F52DE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F52DE#FFFFFF#000000##000000
##9F52DE1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#3378DB
Tritanopia (blue-blind)
#946F91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9f52de;
/* rgb */ color: rgb(159, 82, 222);
/* oklch */ color: oklch(59.6% 0.208 306.4);
Tailwind
colors: {
  custom: {
    50: '#c087e9',
    500: '#9f52de',
    950: '#000000',
  },
}
SCSS
$custom: #9f52de;
$custom-light: #c087e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f52de",
  "rgb": {
    "r": 159,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 273,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59612,
    "c": 0.20802,
    "h": 306.4
  },
  "luminance": 0.18679
}

Semantic roles & 50–950 ramp

primary
#9F52DE
secondary
#C3E1AB
accent
#EB3D8B
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9F52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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