#9752D3#9752D3

#9752D3 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 58.0% C 0.194 H 305.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9752D3
RGBrgb(151, 82, 211)
HSLhsl(272, 59%, 57%)
HSVhsv(272, 61%, 83%)
CMYKcmyk(28.4%, 61.1%, 0%, 17.3%)
CIE-LABlab(48.66, 52.15, -55.63)
CIE-LCHlch(48.66, 76.25, 313.15°)
OKLaboklab(57.98% 0.1136 -0.1573)
OKLCHoklch(57.98% 0.194 305.8)
XYZxyz(27.5351, 17.3173, 63.5074)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752D3 #8ED352
analogous
#5752D3 #9752D3 #D352CF
triadic
#9752D3 #D39752 #52D397
tetradic
#9752D3 #D35752 #8ED352 #52CFD3
square
#9752D3 #D35752 #8ED352 #52CFD3
split-complementary
#9752D3 #CFD352 #52D357
monochromatic
#592388 #792FB9 #9752D3 #B483DF #D2B4EC

Accessibility & contrast

On white

4.70
#9752D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9752D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752D3
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752D3#FFFFFF#000000##FFFFFF
##9752D31.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0871D7
Deuteranopia (green-blind)
#3774D0
Tritanopia (blue-blind)
#8D6C8B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9752d3;
/* rgb */ color: rgb(151, 82, 211);
/* oklch */ color: oklch(58.0% 0.194 305.8);
Tailwind
colors: {
  custom: {
    50: '#b986e1',
    500: '#9752d3',
    950: '#000000',
  },
}
SCSS
$custom: #9752d3;
$custom-light: #b986e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9752d3",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 211
  },
  "hsl": {
    "h": 272.093,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57982,
    "c": 0.19402,
    "h": 305.8
  },
  "luminance": 0.17317
}

Semantic roles & 50–950 ramp

primary
#9752D3
secondary
#BFDAA6
accent
#E3458E
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9752D3

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

Preview Lab → · Contrast checker → · Palette generator →

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