#9D52D4#9D52D4

#9D52D4 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.7% C 0.197 H 308.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9D52D4
RGBrgb(157, 82, 212)
HSLhsl(275, 60%, 58%)
HSVhsv(275, 61%, 83%)
CMYKcmyk(25.9%, 61.3%, 0%, 16.9%)
CIE-LABlab(49.44, 53.76, -54.90)
CIE-LCHlch(49.44, 76.84, 314.40°)
OKLaboklab(58.73% 0.1213 -0.1549)
OKLCHoklch(58.73% 0.197 308.1)
XYZxyz(28.8032, 17.9566, 64.2232)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D52D4 #89D452
analogous
#5C52D4 #9D52D4 #D452CA
triadic
#9D52D4 #D49D52 #52D49D
tetradic
#9D52D4 #D45C52 #89D452 #52CAD4
square
#9D52D4 #D45C52 #89D452 #52CAD4
split-complementary
#9D52D4 #CAD452 #52D45C
monochromatic
#5E2289 #7F2EBA #9D52D4 #B983E0 #D5B4EC

Accessibility & contrast

On white

4.57
#9D52D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#9D52D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D52D4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D52D4#FFFFFF#000000##000000
##9D52D41.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1073D8
Deuteranopia (green-blind)
#3D76D1
Tritanopia (blue-blind)
#956C8B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9d52d4;
/* rgb */ color: rgb(157, 82, 212);
/* oklch */ color: oklch(58.7% 0.197 308.1);
Tailwind
colors: {
  custom: {
    50: '#be86e2',
    500: '#9d52d4',
    950: '#000000',
  },
}
SCSS
$custom: #9d52d4;
$custom-light: #be86e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d52d4",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 274.615,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58731,
    "c": 0.19677,
    "h": 308.1
  },
  "luminance": 0.17956
}

Semantic roles & 50–950 ramp

primary
#9D52D4
secondary
#BDDBA7
accent
#E34488
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D52D4

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

Preview Lab → · Contrast checker → · Palette generator →

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