#9D52CE#9D52CE

#9D52CE is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.4% C 0.190 H 309.6°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9D52CE
RGBrgb(157, 82, 206)
HSLhsl(276, 56%, 56%)
HSVhsv(276, 60%, 81%)
CMYKcmyk(23.8%, 60.2%, 0%, 19.2%)
CIE-LABlab(49.08, 52.41, -52.04)
CIE-LCHlch(49.08, 73.86, 315.20°)
OKLaboklab(58.35% 0.1214 -0.1466)
OKLCHoklch(58.35% 0.19 309.6)
XYZxyz(28.0603, 17.6594, 60.3110)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D52CE #83CE52
analogous
#5F52CE #9D52CE #CE52C1
triadic
#9D52CE #CE9D52 #52CE9D
tetradic
#9D52CE #CE5F52 #83CE52 #52C1CE
square
#9D52CE #CE5F52 #83CE52 #52C1CE
split-complementary
#9D52CE #C1CE52 #52CE5F
monochromatic
#5C2581 #7F32B1 #9D52CE #B882DC #D3B1E9

Accessibility & contrast

On white

4.63
#9D52CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#9D52CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D52CE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D52CE#FFFFFF#000000##FFFFFF
##9D52CE1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F71D2
Deuteranopia (green-blind)
#4376CB
Tritanopia (blue-blind)
#966A88
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d52ce;
/* rgb */ color: rgb(157, 82, 206);
/* oklch */ color: oklch(58.4% 0.190 309.6);
Tailwind
colors: {
  custom: {
    50: '#bd86de',
    500: '#9d52ce',
    950: '#000000',
  },
}
SCSS
$custom: #9d52ce;
$custom-light: #bd86de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d52ce",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 276.29,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58351,
    "c": 0.19033,
    "h": 309.6
  },
  "luminance": 0.17659
}

Semantic roles & 50–950 ramp

primary
#9D52CE
secondary
#B9D7A4
accent
#DF4984
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D52CE

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

Preview Lab → · Contrast checker → · Palette generator →

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