#C752EC#C752EC

#C752EC is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.3% C 0.235 H 317.0°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#C752EC
RGBrgb(199, 82, 236)
HSLhsl(286, 80%, 62%)
HSVhsv(286, 65%, 93%)
CMYKcmyk(15.7%, 65.3%, 0%, 7.5%)
CIE-LABlab(56.32, 68.22, -57.14)
CIE-LCHlch(56.32, 88.99, 320.05°)
OKLaboklab(65.31% 0.1721 -0.1602)
OKLCHoklch(65.31% 0.235 317)
XYZxyz(41.7086, 24.2345, 81.8213)
Luminance0.2423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752EC #77EC52
analogous
#7A52EC #C752EC #EC52C4
triadic
#C752EC #ECC752 #52ECC7
tetradic
#C752EC #EC7A52 #77EC52 #52C4EC
square
#C752EC #EC7A52 #77EC52 #52C4EC
split-complementary
#C752EC #C4EC52 #52EC7A
monochromatic
#8B13B0 #B51BE6 #C752EC #D989F2 #EBC0F8

Accessibility & contrast

On white

3.59
#C752EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#C752EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752EC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752EC#FFFFFF#000000##000000
##C752EC1.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D80F1
Deuteranopia (green-blind)
#558BE8
Tritanopia (blue-blind)
#C56F98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c752ec;
/* rgb */ color: rgb(199, 82, 236);
/* oklch */ color: oklch(65.3% 0.235 317.0);
Tailwind
colors: {
  custom: {
    50: '#dc8af3',
    500: '#c752ec',
    950: '#000000',
  },
}
SCSS
$custom: #c752ec;
$custom-light: #dc8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#c752ec",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 285.584,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6531,
    "c": 0.23513,
    "h": 317
  },
  "luminance": 0.24233
}

Semantic roles & 50–950 ramp

primary
#C752EC
secondary
#BEE9B1
accent
#DD093C
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C752EC

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

Preview Lab → · Contrast checker → · Palette generator →

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