#9752CE#9752CE

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

Color values

HEX#9752CE
RGBrgb(151, 82, 206)
HSLhsl(273, 56%, 56%)
HSVhsv(273, 60%, 81%)
CMYKcmyk(26.7%, 60.2%, 0%, 19.2%)
CIE-LABlab(48.35, 50.99, -53.26)
CIE-LCHlch(48.35, 73.73, 313.75°)
OKLaboklab(57.66% 0.1137 -0.1503)
OKLCHoklch(57.66% 0.189 307.1)
XYZxyz(26.9181, 17.0704, 60.2574)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752CE #89CE52
analogous
#5952CE #9752CE #CE52C7
triadic
#9752CE #CE9752 #52CE97
tetradic
#9752CE #CE5952 #89CE52 #52C7CE
square
#9752CE #CE5952 #89CE52 #52C7CE
split-complementary
#9752CE #C7CE52 #52CE59
monochromatic
#582581 #7932B1 #9752CE #B482DC #D0B1E9

Accessibility & contrast

On white

4.76
#9752CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9752CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752CE
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752CE#FFFFFF#000000##FFFFFF
##9752CE1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1970D2
Deuteranopia (green-blind)
#3C73CB
Tritanopia (blue-blind)
#8E6A88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9752ce;
/* rgb */ color: rgb(151, 82, 206);
/* oklch */ color: oklch(57.7% 0.189 307.1);
Tailwind
colors: {
  custom: {
    50: '#b986de',
    500: '#9752ce',
    950: '#000000',
  },
}
SCSS
$custom: #9752ce;
$custom-light: #b986de;
$custom-dark: #000000;
JSON
{
  "hex": "#9752ce",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 273.387,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57659,
    "c": 0.1885,
    "h": 307.1
  },
  "luminance": 0.1707
}

Semantic roles & 50–950 ramp

primary
#9752CE
secondary
#BBD7A4
accent
#DF498B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9752CE

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

Preview Lab → · Contrast checker → · Palette generator →

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