#9D52CD#9D52CD

#9D52CD is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.3% C 0.189 H 309.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9D52CD
RGBrgb(157, 82, 205)
HSLhsl(277, 55%, 56%)
HSVhsv(277, 60%, 80%)
CMYKcmyk(23.4%, 60%, 0%, 19.6%)
CIE-LABlab(49.02, 52.19, -51.57)
CIE-LCHlch(49.02, 73.37, 315.34°)
OKLaboklab(58.29% 0.1214 -0.1452)
OKLCHoklch(58.29% 0.189 309.9)
XYZxyz(27.9393, 17.6110, 59.6732)
Luminance0.1761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D52CD #82CD52
analogous
#6052CD #9D52CD #CD52C0
triadic
#9D52CD #CD9D52 #52CD9D
tetradic
#9D52CD #CD6052 #82CD52 #52C0CD
square
#9D52CD #CD6052 #82CD52 #52C0CD
split-complementary
#9D52CD #C0CD52 #52CD60
monochromatic
#5C2580 #7F33AF #9D52CD #B881DB #D3B1E8

Accessibility & contrast

On white

4.64
#9D52CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9D52CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D52CD
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D52CD#FFFFFF#000000##FFFFFF
##9D52CD1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2171D1
Deuteranopia (green-blind)
#4476CA
Tritanopia (blue-blind)
#976988
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9d52cd;
/* rgb */ color: rgb(157, 82, 205);
/* oklch */ color: oklch(58.3% 0.189 309.9);
Tailwind
colors: {
  custom: {
    50: '#bd86dd',
    500: '#9d52cd',
    950: '#000000',
  },
}
SCSS
$custom: #9d52cd;
$custom-light: #bd86dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d52cd",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 276.585,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58289,
    "c": 0.18926,
    "h": 309.9
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#9D52CD
secondary
#B8D7A4
accent
#DE4984
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D52CD

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

Preview Lab → · Contrast checker → · Palette generator →

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