#9752CF#9752CF

#9752CF is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.7% C 0.190 H 306.9°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9752CF
RGBrgb(151, 82, 207)
HSLhsl(273, 57%, 57%)
HSVhsv(273, 60%, 81%)
CMYKcmyk(27.1%, 60.4%, 0%, 18.8%)
CIE-LABlab(48.41, 51.22, -53.73)
CIE-LCHlch(48.41, 74.23, 313.63°)
OKLaboklab(57.72% 0.1137 -0.1517)
OKLCHoklch(57.72% 0.19 306.9)
XYZxyz(27.0399, 17.1192, 60.8992)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752CF #8ACF52
analogous
#5952CF #9752CF #CF52C9
triadic
#9752CF #CF9752 #52CF97
tetradic
#9752CF #CF5952 #8ACF52 #52C9CF
square
#9752CF #CF5952 #8ACF52 #52C9CF
split-complementary
#9752CF #C9CF52 #52CF59
monochromatic
#582482 #7931B2 #9752CF #B482DC #D1B2EA

Accessibility & contrast

On white

4.75
#9752CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9752CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752CF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752CF#FFFFFF#000000##FFFFFF
##9752CF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1671D3
Deuteranopia (green-blind)
#3B73CC
Tritanopia (blue-blind)
#8E6B89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9752cf;
/* rgb */ color: rgb(151, 82, 207);
/* oklch */ color: oklch(57.7% 0.190 306.9);
Tailwind
colors: {
  custom: {
    50: '#b986de',
    500: '#9752cf',
    950: '#000000',
  },
}
SCSS
$custom: #9752cf;
$custom-light: #b986de;
$custom-dark: #000000;
JSON
{
  "hex": "#9752cf",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 273.12,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57723,
    "c": 0.1896,
    "h": 306.9
  },
  "luminance": 0.17119
}

Semantic roles & 50–950 ramp

primary
#9752CF
secondary
#BCD8A5
accent
#E0488C
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9752CF

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

Preview Lab → · Contrast checker → · Palette generator →

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