#9752C1#9752C1

#9752C1 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.8% C 0.174 H 310.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9752C1
RGBrgb(151, 82, 193)
HSLhsl(277, 47%, 54%)
HSVhsv(277, 58%, 76%)
CMYKcmyk(21.8%, 57.5%, 0%, 24.3%)
CIE-LABlab(47.58, 48.03, -46.99)
CIE-LCHlch(47.58, 67.20, 315.62°)
OKLaboklab(56.85% 0.1137 -0.132)
OKLCHoklch(56.85% 0.174 310.7)
XYZxyz(25.4036, 16.4647, 52.2815)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752C1 #7CC152
analogous
#6052C1 #9752C1 #C152B4
triadic
#9752C1 #C19752 #52C197
tetradic
#9752C1 #C16052 #7CC152 #52B4C1
square
#9752C1 #C16052 #7CC152 #52B4C1
split-complementary
#9752C1 #B4C152 #52C160
monochromatic
#552870 #77389D #9752C1 #B27FD1 #CDACE1

Accessibility & contrast

On white

4.89
#9752C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9752C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752C1
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752C1#FFFFFF#000000##FFFFFF
##9752C11.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6EC5
Deuteranopia (green-blind)
#4872BE
Tritanopia (blue-blind)
#926682
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9752c1;
/* rgb */ color: rgb(151, 82, 193);
/* oklch */ color: oklch(56.8% 0.174 310.7);
Tailwind
colors: {
  custom: {
    50: '#b886d4',
    500: '#9752c1',
    950: '#000000',
  },
}
SCSS
$custom: #9752c1;
$custom-light: #b886d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9752c1",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 193
  },
  "hsl": {
    "h": 277.297,
    "s": 47.234,
    "l": 53.922
  },
  "oklch": {
    "l": 0.56849,
    "c": 0.17418,
    "h": 310.7
  },
  "luminance": 0.16464
}

Semantic roles & 50–950 ramp

primary
#9752C1
secondary
#B2CFA0
accent
#D75184
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9752C1

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

Preview Lab → · Contrast checker → · Palette generator →

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