#9752C3#9752C3

#9752C3 is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.0% C 0.176 H 310.1°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9752C3
RGBrgb(151, 82, 195)
HSLhsl(277, 48%, 54%)
HSVhsv(277, 58%, 76%)
CMYKcmyk(22.6%, 57.9%, 0%, 23.5%)
CIE-LABlab(47.69, 48.48, -47.97)
CIE-LCHlch(47.69, 68.20, 315.30°)
OKLaboklab(56.97% 0.1137 -0.1348)
OKLCHoklch(56.97% 0.176 310.1)
XYZxyz(25.6283, 16.5545, 53.4644)
Luminance0.1655 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752C3 #7EC352
analogous
#5F52C3 #9752C3 #C352B7
triadic
#9752C3 #C39752 #52C397
tetradic
#9752C3 #C35F52 #7EC352 #52B7C3
square
#9752C3 #C35F52 #7EC352 #52B7C3
split-complementary
#9752C3 #B7C352 #52C35F
monochromatic
#562873 #7738A0 #9752C3 #B27FD3 #CEADE3

Accessibility & contrast

On white

4.87
#9752C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9752C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752C3
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752C3#FFFFFF#000000##FFFFFF
##9752C31.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6EC7
Deuteranopia (green-blind)
#4672C0
Tritanopia (blue-blind)
#916783
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9752c3;
/* rgb */ color: rgb(151, 82, 195);
/* oklch */ color: oklch(57.0% 0.176 310.1);
Tailwind
colors: {
  custom: {
    50: '#b986d6',
    500: '#9752c3',
    950: '#000000',
  },
}
SCSS
$custom: #9752c3;
$custom-light: #b986d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9752c3",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 195
  },
  "hsl": {
    "h": 276.637,
    "s": 48.498,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56971,
    "c": 0.17638,
    "h": 310.1
  },
  "luminance": 0.16554
}

Semantic roles & 50–950 ramp

primary
#9752C3
secondary
#B3D0A0
accent
#D85085
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9752C3

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

Preview Lab → · Contrast checker → · Palette generator →

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