#C752E4#C752E4

#C752E4 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.8% C 0.228 H 319.1°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#C752E4
RGBrgb(199, 82, 228)
HSLhsl(288, 73%, 61%)
HSVhsv(288, 64%, 89%)
CMYKcmyk(12.7%, 64%, 0%, 10.6%)
CIE-LABlab(55.87, 66.70, -53.38)
CIE-LCHlch(55.87, 85.43, 321.33°)
OKLaboklab(64.84% 0.1722 -0.1493)
OKLCHoklch(64.84% 0.228 319.1)
XYZxyz(40.5722, 23.7800, 75.8366)
Luminance0.2378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752E4 #6FE452
analogous
#7E52E4 #C752E4 #E452B8
triadic
#C752E4 #E4C752 #52E4C7
tetradic
#C752E4 #E47E52 #6FE452 #52B8E4
square
#C752E4 #E47E52 #6FE452 #52B8E4
split-complementary
#C752E4 #B8E452 #52E47E
monochromatic
#8719A2 #B322D7 #C752E4 #D887EC #E9BCF5

Accessibility & contrast

On white

3.65
#C752E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#C752E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752E4
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752E4#FFFFFF#000000##000000
##C752E41.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#237EE8
Deuteranopia (green-blind)
#5B8AE0
Tritanopia (blue-blind)
#C76B94
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c752e4;
/* rgb */ color: rgb(199, 82, 228);
/* oklch */ color: oklch(64.8% 0.228 319.1);
Tailwind
colors: {
  custom: {
    50: '#db8aed',
    500: '#c752e4',
    950: '#000000',
  },
}
SCSS
$custom: #c752e4;
$custom-light: #db8aed;
$custom-dark: #000000;
JSON
{
  "hex": "#c752e4",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 288.082,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64836,
    "c": 0.22792,
    "h": 319.1
  },
  "luminance": 0.23778
}

Semantic roles & 50–950 ramp

primary
#C752E4
secondary
#B8E5AD
accent
#D51037
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C752E4

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

Preview Lab → · Contrast checker → · Palette generator →

#C752E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva