#9D52DC#9D52DC

#9D52DC is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.3% C 0.205 H 306.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9D52DC
RGBrgb(157, 82, 220)
HSLhsl(273, 66%, 59%)
HSVhsv(273, 63%, 86%)
CMYKcmyk(28.6%, 62.7%, 0%, 13.7%)
CIE-LABlab(49.94, 55.58, -58.65)
CIE-LCHlch(49.94, 80.80, 313.46°)
OKLaboklab(59.25% 0.121 -0.166)
OKLCHoklch(59.25% 0.205 306.1)
XYZxyz(29.8374, 18.3703, 69.6702)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D52DC #91DC52
analogous
#5852DC #9D52DC #DC52D6
triadic
#9D52DC #DC9D52 #52DC9D
tetradic
#9D52DC #DC5852 #91DC52 #52D6DC
square
#9D52DC #DC5852 #91DC52 #52D6DC
split-complementary
#9D52DC #D6DC52 #52DC58
monochromatic
#5F1E95 #7F29C8 #9D52DC #BA85E6 #D7B8F1

Accessibility & contrast

On white

4.49
#9D52DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#9D52DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D52DC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D52DC#FFFFFF#000000##000000
##9D52DC1.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#3377D9
Tritanopia (blue-blind)
#926F90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d52dc;
/* rgb */ color: rgb(157, 82, 220);
/* oklch */ color: oklch(59.3% 0.205 306.1);
Tailwind
colors: {
  custom: {
    50: '#be87e8',
    500: '#9d52dc',
    950: '#000000',
  },
}
SCSS
$custom: #9d52dc;
$custom-light: #be87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d52dc",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 220
  },
  "hsl": {
    "h": 272.609,
    "s": 66.346,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59252,
    "c": 0.20536,
    "h": 306.1
  },
  "luminance": 0.1837
}

Semantic roles & 50–950 ramp

primary
#9D52DC
secondary
#C3E0AA
accent
#E93F8C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D52DC

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

Preview Lab → · Contrast checker → · Palette generator →

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