#9752D4#9752D4

#9752D4 is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.0% C 0.195 H 305.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9752D4
RGBrgb(151, 82, 212)
HSLhsl(272, 60%, 58%)
HSVhsv(272, 61%, 83%)
CMYKcmyk(28.8%, 61.3%, 0%, 16.9%)
CIE-LABlab(48.72, 52.38, -56.10)
CIE-LCHlch(48.72, 76.75, 313.04°)
OKLaboklab(58.05% 0.1136 -0.1587)
OKLCHoklch(58.05% 0.195 305.6)
XYZxyz(27.6609, 17.3676, 64.1696)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752D4 #8FD452
analogous
#5652D4 #9752D4 #D452D0
triadic
#9752D4 #D49752 #52D497
tetradic
#9752D4 #D45652 #8FD452 #52D0D4
square
#9752D4 #D45652 #8FD452 #52D0D4
split-complementary
#9752D4 #D0D452 #52D456
monochromatic
#592289 #792EBA #9752D4 #B483E0 #D2B4EC

Accessibility & contrast

On white

4.69
#9752D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9752D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752D4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752D4#FFFFFF#000000##FFFFFF
##9752D41.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0372D8
Deuteranopia (green-blind)
#3574D1
Tritanopia (blue-blind)
#8D6D8B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9752d4;
/* rgb */ color: rgb(151, 82, 212);
/* oklch */ color: oklch(58.0% 0.195 305.6);
Tailwind
colors: {
  custom: {
    50: '#b986e2',
    500: '#9752d4',
    950: '#000000',
  },
}
SCSS
$custom: #9752d4;
$custom-light: #b986e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9752d4",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 212
  },
  "hsl": {
    "h": 271.846,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.58048,
    "c": 0.19512,
    "h": 305.6
  },
  "luminance": 0.17367
}

Semantic roles & 50–950 ramp

primary
#9752D4
secondary
#BFDBA7
accent
#E3448F
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9752D4

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

Preview Lab → · Contrast checker → · Palette generator →

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