#9752C0#9752C0

#9752C0 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.8% C 0.173 H 311.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9752C0
RGBrgb(151, 82, 192)
HSLhsl(278, 47%, 54%)
HSVhsv(278, 57%, 75%)
CMYKcmyk(21.4%, 57.3%, 0%, 24.7%)
CIE-LABlab(47.52, 47.81, -46.51)
CIE-LCHlch(47.52, 66.70, 315.79°)
OKLaboklab(56.79% 0.1136 -0.1305)
OKLCHoklch(56.79% 0.173 311)
XYZxyz(25.2925, 16.4202, 51.6960)
Luminance0.1642 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752C0 #7BC052
analogous
#6052C0 #9752C0 #C052B2
triadic
#9752C0 #C09752 #52C097
tetradic
#9752C0 #C06052 #7BC052 #52B2C0
square
#9752C0 #C06052 #7BC052 #52B2C0
split-complementary
#9752C0 #B2C052 #52C060
monochromatic
#55286F #77399C #9752C0 #B27FD0 #CDACE1

Accessibility & contrast

On white

4.90
#9752C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9752C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752C0
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752C0#FFFFFF#000000##FFFFFF
##9752C01.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC4
Deuteranopia (green-blind)
#4972BD
Tritanopia (blue-blind)
#926681
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9752c0;
/* rgb */ color: rgb(151, 82, 192);
/* oklch */ color: oklch(56.8% 0.173 311.0);
Tailwind
colors: {
  custom: {
    50: '#b886d3',
    500: '#9752c0',
    950: '#000000',
  },
}
SCSS
$custom: #9752c0;
$custom-light: #b886d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9752c0",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 192
  },
  "hsl": {
    "h": 277.636,
    "s": 46.61,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56789,
    "c": 0.17308,
    "h": 311
  },
  "luminance": 0.1642
}

Semantic roles & 50–950 ramp

primary
#9752C0
secondary
#B1CE9F
accent
#D65283
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9752C0

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

Preview Lab → · Contrast checker → · Palette generator →

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