#9752C8#9752C8

#9752C8 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.3% C 0.182 H 308.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9752C8
RGBrgb(151, 82, 200)
HSLhsl(275, 52%, 55%)
HSVhsv(275, 59%, 78%)
CMYKcmyk(24.5%, 59%, 0%, 21.6%)
CIE-LABlab(47.99, 49.61, -50.39)
CIE-LCHlch(47.99, 70.71, 314.56°)
OKLaboklab(57.28% 0.1138 -0.1419)
OKLCHoklch(57.28% 0.182 308.7)
XYZxyz(26.2031, 16.7844, 56.4917)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752C8 #83C852
analogous
#5C52C8 #9752C8 #C852BE
triadic
#9752C8 #C89752 #52C897
tetradic
#9752C8 #C85C52 #83C852 #52BEC8
square
#9752C8 #C85C52 #83C852 #52BEC8
split-complementary
#9752C8 #BEC852 #52C85C
monochromatic
#572779 #7835A8 #9752C8 #B380D7 #CFAFE6

Accessibility & contrast

On white

4.82
#9752C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9752C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752C8
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752C8#FFFFFF#000000##FFFFFF
##9752C81.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246FCC
Deuteranopia (green-blind)
#4273C5
Tritanopia (blue-blind)
#906885
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9752c8;
/* rgb */ color: rgb(151, 82, 200);
/* oklch */ color: oklch(57.3% 0.182 308.7);
Tailwind
colors: {
  custom: {
    50: '#b986d9',
    500: '#9752c8',
    950: '#000000',
  },
}
SCSS
$custom: #9752c8;
$custom-light: #b986d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9752c8",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 275.085,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5728,
    "c": 0.18188,
    "h": 308.7
  },
  "luminance": 0.16784
}

Semantic roles & 50–950 ramp

primary
#9752C8
secondary
#B7D4A2
accent
#DB4D88
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9752C8

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

Preview Lab → · Contrast checker → · Palette generator →

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