#9752DD#9752DD

#9752DD is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.6% C 0.205 H 303.5°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9752DD
RGBrgb(151, 82, 221)
HSLhsl(270, 67%, 59%)
HSVhsv(270, 63%, 87%)
CMYKcmyk(31.7%, 62.9%, 0%, 13.3%)
CIE-LABlab(49.29, 54.50, -60.30)
CIE-LCHlch(49.29, 81.28, 312.11°)
OKLaboklab(58.65% 0.1131 -0.171)
OKLCHoklch(58.65% 0.205 303.5)
XYZxyz(28.8280, 17.8344, 70.3162)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752DD #98DD52
analogous
#5253DD #9752DD #DD52DD
triadic
#9752DD #DD9752 #52DD97
tetradic
#9752DD #DD5253 #98DD52 #52DDDD
square
#9752DD #DD5253 #98DD52 #52DDDD
split-complementary
#9752DD #DDDD52 #53DD52
monochromatic
#5A1E97 #7828CA #9752DD #B685E7 #D4B8F1

Accessibility & contrast

On white

4.60
#9752DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9752DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9752DD
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752DD#FFFFFF#000000##FFFFFF
##9752DD1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E1
Deuteranopia (green-blind)
#2875DA
Tritanopia (blue-blind)
#8A7090
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9752dd;
/* rgb */ color: rgb(151, 82, 221);
/* oklch */ color: oklch(58.6% 0.205 303.5);
Tailwind
colors: {
  custom: {
    50: '#ba86e8',
    500: '#9752dd',
    950: '#000000',
  },
}
SCSS
$custom: #9752dd;
$custom-light: #ba86e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9752dd",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 269.784,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58648,
    "c": 0.20503,
    "h": 303.5
  },
  "luminance": 0.17834
}

Semantic roles & 50–950 ramp

primary
#9752DD
secondary
#C6E0AA
accent
#EA3E95
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9752DD

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

Preview Lab → · Contrast checker → · Palette generator →

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