#9752D1#9752D1

#9752D1 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.9% C 0.192 H 306.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9752D1
RGBrgb(151, 82, 209)
HSLhsl(273, 58%, 57%)
HSVhsv(273, 61%, 82%)
CMYKcmyk(27.8%, 60.8%, 0%, 18%)
CIE-LABlab(48.53, 51.68, -54.68)
CIE-LCHlch(48.53, 75.24, 313.38°)
OKLaboklab(57.85% 0.1137 -0.1545)
OKLCHoklch(57.85% 0.192 306.3)
XYZxyz(27.2860, 17.2176, 62.1951)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752D1 #8CD152
analogous
#5752D1 #9752D1 #D152CC
triadic
#9752D1 #D19752 #52D197
tetradic
#9752D1 #D15752 #8CD152 #52CCD1
square
#9752D1 #D15752 #8CD152 #52CCD1
split-complementary
#9752D1 #CCD152 #52D157
monochromatic
#592385 #7930B6 #9752D1 #B482DE #D1B3EB

Accessibility & contrast

On white

4.73
#9752D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9752D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752D1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752D1#FFFFFF#000000##FFFFFF
##9752D11.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1071D5
Deuteranopia (green-blind)
#3974CE
Tritanopia (blue-blind)
#8D6B8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9752d1;
/* rgb */ color: rgb(151, 82, 209);
/* oklch */ color: oklch(57.9% 0.192 306.3);
Tailwind
colors: {
  custom: {
    50: '#b986e0',
    500: '#9752d1',
    950: '#000000',
  },
}
SCSS
$custom: #9752d1;
$custom-light: #b986e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9752d1",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 272.598,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57852,
    "c": 0.19182,
    "h": 306.3
  },
  "luminance": 0.17217
}

Semantic roles & 50–950 ramp

primary
#9752D1
secondary
#BDD9A6
accent
#E1478D
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9752D1

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

Preview Lab → · Contrast checker → · Palette generator →

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