#9752C2#9752C2

#9752C2 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.9% C 0.175 H 310.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9752C2
RGBrgb(151, 82, 194)
HSLhsl(277, 48%, 54%)
HSVhsv(277, 58%, 76%)
CMYKcmyk(22.2%, 57.7%, 0%, 23.9%)
CIE-LABlab(47.64, 48.25, -47.48)
CIE-LCHlch(47.64, 67.70, 315.46°)
OKLaboklab(56.91% 0.1137 -0.1334)
OKLCHoklch(56.91% 0.175 310.4)
XYZxyz(25.5156, 16.5094, 52.8710)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9752C2 #7DC252
analogous
#5F52C2 #9752C2 #C252B5
triadic
#9752C2 #C29752 #52C297
tetradic
#9752C2 #C25F52 #7DC252 #52B5C2
square
#9752C2 #C25F52 #7DC252 #52B5C2
split-complementary
#9752C2 #B5C252 #52C25F
monochromatic
#552872 #77389F #9752C2 #B27FD2 #CDACE2

Accessibility & contrast

On white

4.88
#9752C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9752C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9752C2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9752C2#FFFFFF#000000##FFFFFF
##9752C21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C6EC6
Deuteranopia (green-blind)
#4772BF
Tritanopia (blue-blind)
#926682
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9752c2;
/* rgb */ color: rgb(151, 82, 194);
/* oklch */ color: oklch(56.9% 0.175 310.4);
Tailwind
colors: {
  custom: {
    50: '#b886d5',
    500: '#9752c2',
    950: '#000000',
  },
}
SCSS
$custom: #9752c2;
$custom-light: #b886d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9752c2",
  "rgb": {
    "r": 151,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 276.964,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5691,
    "c": 0.17527,
    "h": 310.4
  },
  "luminance": 0.16509
}

Semantic roles & 50–950 ramp

primary
#9752C2
secondary
#B2D0A0
accent
#D75084
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#120B14
muted
#817C83

Preview Lab

Preview with #9752C2

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

Preview Lab → · Contrast checker → · Palette generator →

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