#9D52DD#9D52DD

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

Color values

HEX#9D52DD
RGBrgb(157, 82, 221)
HSLhsl(272, 67%, 59%)
HSVhsv(272, 63%, 87%)
CMYKcmyk(29%, 62.9%, 0%, 13.3%)
CIE-LABlab(50.01, 55.81, -59.11)
CIE-LCHlch(50.01, 81.30, 313.35°)
OKLaboklab(59.32% 0.1209 -0.1673)
OKLCHoklch(59.32% 0.206 305.9)
XYZxyz(29.9702, 18.4234, 70.3698)
Luminance0.1842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D52DD #92DD52
analogous
#5852DD #9D52DD #DD52D8
triadic
#9D52DD #DD9D52 #52DD9D
tetradic
#9D52DD #DD5852 #92DD52 #52D8DD
square
#9D52DD #DD5852 #92DD52 #52D8DD
split-complementary
#9D52DD #D8DD52 #52DD58
monochromatic
#5F1E97 #7F28CA #9D52DD #BA85E7 #D7B8F1

Accessibility & contrast

On white

4.48
#9D52DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9D52DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D52DD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D52DD#FFFFFF#000000##000000
##9D52DD1.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#3277DA
Tritanopia (blue-blind)
#926F90
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d52dd;
/* rgb */ color: rgb(157, 82, 221);
/* oklch */ color: oklch(59.3% 0.206 305.9);
Tailwind
colors: {
  custom: {
    50: '#be87e8',
    500: '#9d52dd',
    950: '#000000',
  },
}
SCSS
$custom: #9d52dd;
$custom-light: #be87e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9d52dd",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 272.374,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59318,
    "c": 0.20643,
    "h": 305.9
  },
  "luminance": 0.18423
}

Semantic roles & 50–950 ramp

primary
#9D52DD
secondary
#C3E0AA
accent
#EA3E8D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #9D52DD

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

Preview Lab → · Contrast checker → · Palette generator →

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