#C752E6#C752E6

#C752E6 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.0% C 0.230 H 318.6°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#C752E6
RGBrgb(199, 82, 230)
HSLhsl(287, 75%, 61%)
HSVhsv(287, 64%, 90%)
CMYKcmyk(13.5%, 64.3%, 0%, 9.8%)
CIE-LABlab(55.98, 67.08, -54.32)
CIE-LCHlch(55.98, 86.32, 321.00°)
OKLaboklab(64.95% 0.1722 -0.152)
OKLCHoklch(64.95% 0.23 318.6)
XYZxyz(40.8515, 23.8917, 77.3073)
Luminance0.2389 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752E6 #71E652
analogous
#7D52E6 #C752E6 #E652BB
triadic
#C752E6 #E6C752 #52E6C7
tetradic
#C752E6 #E67D52 #71E652 #52BBE6
square
#C752E6 #E67D52 #71E652 #52BBE6
split-complementary
#C752E6 #BBE652 #52E67D
monochromatic
#8818A6 #B420DB #C752E6 #D887EE #EABDF5

Accessibility & contrast

On white

3.63
#C752E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.78
#C752E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752E6
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752E6#FFFFFF#000000##000000
##C752E61.003.635.785.78
#FFFFFF3.631.0021.0021.00
#0000005.7821.001.001.00
##0000005.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F7EEA
Deuteranopia (green-blind)
#5A8AE2
Tritanopia (blue-blind)
#C76C95
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c752e6;
/* rgb */ color: rgb(199, 82, 230);
/* oklch */ color: oklch(65.0% 0.230 318.6);
Tailwind
colors: {
  custom: {
    50: '#dc8aee',
    500: '#c752e6',
    950: '#000000',
  },
}
SCSS
$custom: #c752e6;
$custom-light: #dc8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#c752e6",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 230
  },
  "hsl": {
    "h": 287.432,
    "s": 74.747,
    "l": 61.176
  },
  "oklch": {
    "l": 0.64953,
    "c": 0.22972,
    "h": 318.6
  },
  "luminance": 0.2389
}

Semantic roles & 50–950 ramp

primary
#C752E6
secondary
#BAE6AE
accent
#D70F39
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C752E6

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

Preview Lab → · Contrast checker → · Palette generator →

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