#9752CC#9752CC

#9752CC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.5% C 0.186 H 307.6°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9752CC
RGBrgb(151, 82, 204)
HSLhsl(274, 54%, 56%)
HSVhsv(274, 60%, 80%)
CMYKcmyk(26%, 59.8%, 0%, 20%)
CIE-LABlab(48.23, 50.53, -52.30)
CIE-LCHlch(48.23, 72.72, 314.01°)
OKLaboklab(57.53% 0.1138 -0.1475)
OKLCHoklch(57.53% 0.186 307.6)
XYZxyz(26.6766, 16.9739, 58.9860)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752CC #87CC52
analogous
#5A52CC #9752CC #CC52C4
triadic
#9752CC #CC9752 #52CC97
tetradic
#9752CC #CC5A52 #87CC52 #52C4CC
square
#9752CC #CC5A52 #87CC52 #52C4CC
split-complementary
#9752CC #C4CC52 #52CC5A
monochromatic
#58257E #7833AE #9752CC #B381DA #D0B1E8

Accessibility & contrast

On white

4.78
#9752CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9752CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752CC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752CC#FFFFFF#000000##FFFFFF
##9752CC1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D70D0
Deuteranopia (green-blind)
#3E73C9
Tritanopia (blue-blind)
#8F6A87
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9752cc;
/* rgb */ color: rgb(151, 82, 204);
/* oklch */ color: oklch(57.5% 0.186 307.6);
Tailwind
colors: {
  custom: {
    50: '#b986dc',
    500: '#9752cc',
    950: '#000000',
  },
}
SCSS
$custom: #9752cc;
$custom-light: #b986dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9752cc",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 273.934,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57531,
    "c": 0.18629,
    "h": 307.6
  },
  "luminance": 0.16974
}

Semantic roles & 50–950 ramp

primary
#9752CC
secondary
#BAD6A4
accent
#DE4A8A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9752CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9752CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva