#9752CD#9752CD

#9752CD is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.187 H 307.4°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9752CD
RGBrgb(151, 82, 205)
HSLhsl(274, 55%, 56%)
HSVhsv(274, 60%, 80%)
CMYKcmyk(26.3%, 60%, 0%, 19.6%)
CIE-LABlab(48.29, 50.76, -52.78)
CIE-LCHlch(48.29, 73.23, 313.88°)
OKLaboklab(57.6% 0.1138 -0.1489)
OKLCHoklch(57.6% 0.187 307.4)
XYZxyz(26.7970, 17.0220, 59.6197)
Luminance0.1702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752CD #88CD52
analogous
#5A52CD #9752CD #CD52C5
triadic
#9752CD #CD9752 #52CD97
tetradic
#9752CD #CD5A52 #88CD52 #52C5CD
square
#9752CD #CD5A52 #88CD52 #52C5CD
split-complementary
#9752CD #C5CD52 #52CD5A
monochromatic
#582580 #7833AF #9752CD #B481DB #D0B1E8

Accessibility & contrast

On white

4.77
#9752CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9752CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752CD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752CD#FFFFFF#000000##FFFFFF
##9752CD1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B70D1
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#8F6A88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9752cd;
/* rgb */ color: rgb(151, 82, 205);
/* oklch */ color: oklch(57.6% 0.187 307.4);
Tailwind
colors: {
  custom: {
    50: '#b986dd',
    500: '#9752cd',
    950: '#000000',
  },
}
SCSS
$custom: #9752cd;
$custom-light: #b986dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9752cd",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 273.659,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57595,
    "c": 0.1874,
    "h": 307.4
  },
  "luminance": 0.17022
}

Semantic roles & 50–950 ramp

primary
#9752CD
secondary
#BAD7A4
accent
#DE498B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9752CD

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

Preview Lab → · Contrast checker → · Palette generator →

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