#9D52C2#9D52C2

#9D52C2 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.6% C 0.177 H 313.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9D52C2
RGBrgb(157, 82, 194)
HSLhsl(280, 48%, 54%)
HSVhsv(280, 58%, 76%)
CMYKcmyk(19.1%, 57.7%, 0%, 23.9%)
CIE-LABlab(48.38, 49.77, -46.25)
CIE-LCHlch(48.38, 67.94, 317.10°)
OKLaboklab(57.62% 0.1212 -0.1296)
OKLCHoklch(57.62% 0.177 313.1)
XYZxyz(26.6579, 17.0984, 52.9245)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D52C2 #77C252
analogous
#6552C2 #9D52C2 #C252AF
triadic
#9D52C2 #C29D52 #52C29D
tetradic
#9D52C2 #C26552 #77C252 #52AFC2
square
#9D52C2 #C26552 #77C252 #52AFC2
split-complementary
#9D52C2 #AFC252 #52C265
monochromatic
#592872 #7D389F #9D52C2 #B77FD2 #D0ACE2

Accessibility & contrast

On white

4.75
#9D52C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9D52C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D52C2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D52C2#FFFFFF#000000##FFFFFF
##9D52C21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306FC6
Deuteranopia (green-blind)
#4D75BF
Tritanopia (blue-blind)
#996682
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9d52c2;
/* rgb */ color: rgb(157, 82, 194);
/* oklch */ color: oklch(57.6% 0.177 313.1);
Tailwind
colors: {
  custom: {
    50: '#bd86d5',
    500: '#9d52c2',
    950: '#000000',
  },
}
SCSS
$custom: #9d52c2;
$custom-light: #bd86d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d52c2",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 280.179,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57619,
    "c": 0.17748,
    "h": 313.1
  },
  "luminance": 0.17098
}

Semantic roles & 50–950 ramp

primary
#9D52C2
secondary
#B0D0A0
accent
#D7507D
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9D52C2

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

Preview Lab → · Contrast checker → · Palette generator →

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