#9D52D2#9D52D2

#9D52D2 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.6% C 0.195 H 308.6°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9D52D2
RGBrgb(157, 82, 210)
HSLhsl(275, 59%, 57%)
HSVhsv(275, 61%, 82%)
CMYKcmyk(25.2%, 61%, 0%, 17.6%)
CIE-LABlab(49.32, 53.31, -53.95)
CIE-LCHlch(49.32, 75.84, 314.66°)
OKLaboklab(58.6% 0.1213 -0.1522)
OKLCHoklch(58.6% 0.195 308.6)
XYZxyz(28.5525, 17.8563, 62.9027)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D52D2 #87D252
analogous
#5D52D2 #9D52D2 #D252C7
triadic
#9D52D2 #D29D52 #52D29D
tetradic
#9D52D2 #D25D52 #87D252 #52C7D2
square
#9D52D2 #D25D52 #87D252 #52C7D2
split-complementary
#9D52D2 #C7D252 #52D25D
monochromatic
#5D2387 #7F30B7 #9D52D2 #B983DF #D4B3EB

Accessibility & contrast

On white

4.59
#9D52D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9D52D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D52D2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D52D2#FFFFFF#000000##FFFFFF
##9D52D21.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1672D6
Deuteranopia (green-blind)
#3F76CF
Tritanopia (blue-blind)
#956B8A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d52d2;
/* rgb */ color: rgb(157, 82, 210);
/* oklch */ color: oklch(58.6% 0.195 308.6);
Tailwind
colors: {
  custom: {
    50: '#bd86e0',
    500: '#9d52d2',
    950: '#000000',
  },
}
SCSS
$custom: #9d52d2;
$custom-light: #bd86e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d52d2",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 275.156,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58603,
    "c": 0.19462,
    "h": 308.6
  },
  "luminance": 0.17856
}

Semantic roles & 50–950 ramp

primary
#9D52D2
secondary
#BBDAA6
accent
#E24686
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D52D2

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

Preview Lab → · Contrast checker → · Palette generator →

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