#9D52DB#9D52DB

#9D52DB is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.2% C 0.204 H 306.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9D52DB
RGBrgb(157, 82, 219)
HSLhsl(273, 66%, 59%)
HSVhsv(273, 63%, 86%)
CMYKcmyk(28.3%, 62.6%, 0%, 14.1%)
CIE-LABlab(49.88, 55.35, -58.18)
CIE-LCHlch(49.88, 80.31, 313.57°)
OKLaboklab(59.19% 0.121 -0.1646)
OKLCHoklch(59.19% 0.204 306.3)
XYZxyz(29.7054, 18.3174, 68.9748)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D52DB #90DB52
analogous
#5952DB #9D52DB #DB52D4
triadic
#9D52DB #DB9D52 #52DB9D
tetradic
#9D52DB #DB5952 #90DB52 #52D4DB
square
#9D52DB #DB5952 #90DB52 #52D4DB
split-complementary
#9D52DB #D4DB52 #52DB59
monochromatic
#5F1F94 #7F29C6 #9D52DB #BA85E6 #D6B7F0

Accessibility & contrast

On white

4.50
#9D52DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9D52DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D52DB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D52DB#FFFFFF#000000##000000
##9D52DB1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#3577D8
Tritanopia (blue-blind)
#936E8F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9d52db;
/* rgb */ color: rgb(157, 82, 219);
/* oklch */ color: oklch(59.2% 0.204 306.3);
Tailwind
colors: {
  custom: {
    50: '#be87e7',
    500: '#9d52db',
    950: '#000000',
  },
}
SCSS
$custom: #9d52db;
$custom-light: #be87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d52db",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 272.847,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59186,
    "c": 0.20429,
    "h": 306.3
  },
  "luminance": 0.18317
}

Semantic roles & 50–950 ramp

primary
#9D52DB
secondary
#C2DFAA
accent
#E93F8C
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9D52DB

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

Preview Lab → · Contrast checker → · Palette generator →

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