#9752D2#9752D2

#9752D2 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.9% C 0.193 H 306.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9752D2
RGBrgb(151, 82, 210)
HSLhsl(272, 59%, 57%)
HSVhsv(272, 61%, 82%)
CMYKcmyk(28.1%, 61%, 0%, 17.6%)
CIE-LABlab(48.60, 51.91, -55.15)
CIE-LCHlch(48.60, 75.74, 313.27°)
OKLaboklab(57.92% 0.1137 -0.1559)
OKLCHoklch(57.92% 0.193 306.1)
XYZxyz(27.4102, 17.2673, 62.8492)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752D2 #8DD252
analogous
#5752D2 #9752D2 #D252CD
triadic
#9752D2 #D29752 #52D297
tetradic
#9752D2 #D25752 #8DD252 #52CDD2
square
#9752D2 #D25752 #8DD252 #52CDD2
split-complementary
#9752D2 #CDD252 #52D257
monochromatic
#592387 #7930B7 #9752D2 #B483DF #D1B3EB

Accessibility & contrast

On white

4.72
#9752D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9752D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752D2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752D2#FFFFFF#000000##FFFFFF
##9752D21.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D71D6
Deuteranopia (green-blind)
#3874CF
Tritanopia (blue-blind)
#8D6C8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9752d2;
/* rgb */ color: rgb(151, 82, 210);
/* oklch */ color: oklch(57.9% 0.193 306.1);
Tailwind
colors: {
  custom: {
    50: '#b986e0',
    500: '#9752d2',
    950: '#000000',
  },
}
SCSS
$custom: #9752d2;
$custom-light: #b986e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9752d2",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 272.344,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57917,
    "c": 0.19291,
    "h": 306.1
  },
  "luminance": 0.17267
}

Semantic roles & 50–950 ramp

primary
#9752D2
secondary
#BEDAA6
accent
#E2468E
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9752D2

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

Preview Lab → · Contrast checker → · Palette generator →

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