#9752CA#9752CA

#9752CA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.4% C 0.184 H 308.2°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9752CA
RGBrgb(151, 82, 202)
HSLhsl(275, 53%, 56%)
HSVhsv(275, 59%, 79%)
CMYKcmyk(25.2%, 59.4%, 0%, 20.8%)
CIE-LABlab(48.11, 50.07, -51.35)
CIE-LCHlch(48.11, 71.72, 314.28°)
OKLaboklab(57.4% 0.1138 -0.1447)
OKLCHoklch(57.4% 0.184 308.2)
XYZxyz(26.4383, 16.8785, 57.7308)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752CA #85CA52
analogous
#5B52CA #9752CA #CA52C1
triadic
#9752CA #CA9752 #52CA97
tetradic
#9752CA #CA5B52 #85CA52 #52C1CA
square
#9752CA #CA5B52 #85CA52 #52C1CA
split-complementary
#9752CA #C1CA52 #52CA5B
monochromatic
#57267C #7834AB #9752CA #B381D8 #CFB0E7

Accessibility & contrast

On white

4.80
#9752CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9752CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752CA
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752CA#FFFFFF#000000##FFFFFF
##9752CA1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216FCE
Deuteranopia (green-blind)
#4073C7
Tritanopia (blue-blind)
#8F6986
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9752ca;
/* rgb */ color: rgb(151, 82, 202);
/* oklch */ color: oklch(57.4% 0.184 308.2);
Tailwind
colors: {
  custom: {
    50: '#b986db',
    500: '#9752ca',
    950: '#000000',
  },
}
SCSS
$custom: #9752ca;
$custom-light: #b986db;
$custom-dark: #000000;
JSON
{
  "hex": "#9752ca",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 274.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57405,
    "c": 0.18409,
    "h": 308.2
  },
  "luminance": 0.16878
}

Semantic roles & 50–950 ramp

primary
#9752CA
secondary
#B8D5A3
accent
#DD4B89
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9752CA

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

Preview Lab → · Contrast checker → · Palette generator →

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