#9D52CF#9D52CF

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

Color values

HEX#9D52CF
RGBrgb(157, 82, 207)
HSLhsl(276, 57%, 57%)
HSVhsv(276, 60%, 81%)
CMYKcmyk(24.2%, 60.4%, 0%, 18.8%)
CIE-LABlab(49.14, 52.64, -52.52)
CIE-LCHlch(49.14, 74.36, 315.06°)
OKLaboklab(58.41% 0.1214 -0.148)
OKLCHoklch(58.41% 0.191 309.4)
XYZxyz(28.1822, 17.7082, 60.9528)
Luminance0.1771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D52CF #84CF52
analogous
#5F52CF #9D52CF #CF52C3
triadic
#9D52CF #CF9D52 #52CF9D
tetradic
#9D52CF #CF5F52 #84CF52 #52C3CF
square
#9D52CF #CF5F52 #84CF52 #52C3CF
split-complementary
#9D52CF #C3CF52 #52CF5F
monochromatic
#5D2482 #7F31B2 #9D52CF #B882DC #D3B2EA

Accessibility & contrast

On white

4.62
#9D52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9D52CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9D52CF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D52CF#FFFFFF#000000##FFFFFF
##9D52CF1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D72D3
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#966A89
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9d52cf;
/* rgb */ color: rgb(157, 82, 207);
/* oklch */ color: oklch(58.4% 0.191 309.4);
Tailwind
colors: {
  custom: {
    50: '#bd86de',
    500: '#9d52cf',
    950: '#000000',
  },
}
SCSS
$custom: #9d52cf;
$custom-light: #bd86de;
$custom-dark: #000000;
JSON
{
  "hex": "#9d52cf",
  "rgb": {
    "r": 157,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 276,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.58414,
    "c": 0.1914,
    "h": 309.4
  },
  "luminance": 0.17708
}

Semantic roles & 50–950 ramp

primary
#9D52CF
secondary
#B9D8A5
accent
#E04885
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9D52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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