#9752D9#9752D9

#9752D9 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.4% C 0.201 H 304.4°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9752D9
RGBrgb(151, 82, 217)
HSLhsl(271, 64%, 59%)
HSVhsv(271, 62%, 85%)
CMYKcmyk(30.4%, 62.2%, 0%, 14.9%)
CIE-LABlab(49.04, 53.55, -58.44)
CIE-LCHlch(49.04, 79.26, 312.50°)
OKLaboklab(58.38% 0.1134 -0.1655)
OKLCHoklch(58.38% 0.201 304.4)
XYZxyz(28.3014, 17.6238, 67.5429)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752D9 #94D952
analogous
#5352D9 #9752D9 #D952D7
triadic
#9752D9 #D99752 #52D997
tetradic
#9752D9 #D95352 #94D952 #52D7D9
square
#9752D9 #D95352 #94D952 #52D7D9
split-complementary
#9752D9 #D7D952 #52D953
monochromatic
#5A2091 #792BC3 #9752D9 #B584E4 #D3B6EF

Accessibility & contrast

On white

4.64
#9752D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9752D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9752D9
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752D9#FFFFFF#000000##FFFFFF
##9752D91.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073DD
Deuteranopia (green-blind)
#2F75D6
Tritanopia (blue-blind)
#8B6E8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9752d9;
/* rgb */ color: rgb(151, 82, 217);
/* oklch */ color: oklch(58.4% 0.201 304.4);
Tailwind
colors: {
  custom: {
    50: '#ba86e5',
    500: '#9752d9',
    950: '#000000',
  },
}
SCSS
$custom: #9752d9;
$custom-light: #ba86e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9752d9",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 217
  },
  "hsl": {
    "h": 270.667,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58379,
    "c": 0.20063,
    "h": 304.4
  },
  "luminance": 0.17624
}

Semantic roles & 50–950 ramp

primary
#9752D9
secondary
#C3DEA9
accent
#E74192
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9752D9

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

Preview Lab → · Contrast checker → · Palette generator →

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