#9752D6#9752D6

#9752D6 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.2% C 0.197 H 305.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9752D6
RGBrgb(151, 82, 214)
HSLhsl(271, 62%, 58%)
HSVhsv(271, 62%, 84%)
CMYKcmyk(29.4%, 61.7%, 0%, 16.1%)
CIE-LABlab(48.85, 52.85, -57.04)
CIE-LCHlch(48.85, 77.76, 312.82°)
OKLaboklab(58.18% 0.1135 -0.1614)
OKLCHoklch(58.18% 0.197 305.1)
XYZxyz(27.9147, 17.4691, 65.5066)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752D6 #91D652
analogous
#5552D6 #9752D6 #D652D3
triadic
#9752D6 #D69752 #52D697
tetradic
#9752D6 #D65552 #91D652 #52D3D6
square
#9752D6 #D65552 #91D652 #52D3D6
split-complementary
#9752D6 #D3D652 #52D655
monochromatic
#59218C #792DBE #9752D6 #B583E2 #D2B5ED

Accessibility & contrast

On white

4.67
#9752D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9752D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752D6
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752D6#FFFFFF#000000##FFFFFF
##9752D61.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#3374D3
Tritanopia (blue-blind)
#8C6D8C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9752d6;
/* rgb */ color: rgb(151, 82, 214);
/* oklch */ color: oklch(58.2% 0.197 305.1);
Tailwind
colors: {
  custom: {
    50: '#ba86e3',
    500: '#9752d6',
    950: '#000000',
  },
}
SCSS
$custom: #9752d6;
$custom-light: #ba86e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9752d6",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 214
  },
  "hsl": {
    "h": 271.364,
    "s": 61.682,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58179,
    "c": 0.19732,
    "h": 305.1
  },
  "luminance": 0.17469
}

Semantic roles & 50–950 ramp

primary
#9752D6
secondary
#C1DCA8
accent
#E54390
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #9752D6

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

Preview Lab → · Contrast checker → · Palette generator →

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