#9752C7#9752C7

#9752C7 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.2% C 0.181 H 309.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9752C7
RGBrgb(151, 82, 199)
HSLhsl(275, 51%, 55%)
HSVhsv(275, 59%, 78%)
CMYKcmyk(24.1%, 58.8%, 0%, 22%)
CIE-LABlab(47.93, 49.38, -49.90)
CIE-LCHlch(47.93, 70.21, 314.70°)
OKLaboklab(57.22% 0.1138 -0.1405)
OKLCHoklch(57.22% 0.181 309)
XYZxyz(26.0866, 16.7378, 55.8782)
Luminance0.1674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752C7 #82C752
analogous
#5D52C7 #9752C7 #C752BC
triadic
#9752C7 #C79752 #52C797
tetradic
#9752C7 #C75D52 #82C752 #52BCC7
square
#9752C7 #C75D52 #82C752 #52BCC7
split-complementary
#9752C7 #BCC752 #52C75D
monochromatic
#572778 #7836A6 #9752C7 #B380D6 #CFAEE5

Accessibility & contrast

On white

4.83
#9752C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9752C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752C7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752C7#FFFFFF#000000##FFFFFF
##9752C71.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#4373C4
Tritanopia (blue-blind)
#906885
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9752c7;
/* rgb */ color: rgb(151, 82, 199);
/* oklch */ color: oklch(57.2% 0.181 309.0);
Tailwind
colors: {
  custom: {
    50: '#b986d8',
    500: '#9752c7',
    950: '#000000',
  },
}
SCSS
$custom: #9752c7;
$custom-light: #b986d8;
$custom-dark: #000000;
JSON
{
  "hex": "#9752c7",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 199
  },
  "hsl": {
    "h": 275.385,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.57217,
    "c": 0.18078,
    "h": 309
  },
  "luminance": 0.16737
}

Semantic roles & 50–950 ramp

primary
#9752C7
secondary
#B6D3A2
accent
#DB4D87
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #9752C7

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

Preview Lab → · Contrast checker → · Palette generator →

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