#C752E9#C752E9

#C752E9 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.1% C 0.232 H 317.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#C752E9
RGBrgb(199, 82, 233)
HSLhsl(286, 77%, 62%)
HSVhsv(286, 65%, 91%)
CMYKcmyk(14.6%, 64.8%, 0%, 8.6%)
CIE-LABlab(56.15, 67.65, -55.73)
CIE-LCHlch(56.15, 87.65, 320.52°)
OKLaboklab(65.13% 0.1722 -0.1561)
OKLCHoklch(65.13% 0.232 317.8)
XYZxyz(41.2764, 24.0616, 79.5451)
Luminance0.2406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752E9 #74E952
analogous
#7C52E9 #C752E9 #E952C0
triadic
#C752E9 #E9C752 #52E9C7
tetradic
#C752E9 #E97C52 #74E952 #52C0E9
square
#C752E9 #E97C52 #74E952 #52C0E9
split-complementary
#C752E9 #C0E952 #52E97C
monochromatic
#8916AB #B51DE1 #C752E9 #D988F0 #EABFF7

Accessibility & contrast

On white

3.61
#C752E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#C752E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752E9
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752E9#FFFFFF#000000##000000
##C752E91.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#187FEE
Deuteranopia (green-blind)
#588AE5
Tritanopia (blue-blind)
#C66D97
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c752e9;
/* rgb */ color: rgb(199, 82, 233);
/* oklch */ color: oklch(65.1% 0.232 317.8);
Tailwind
colors: {
  custom: {
    50: '#dc8af1',
    500: '#c752e9',
    950: '#000000',
  },
}
SCSS
$custom: #c752e9;
$custom-light: #dc8af1;
$custom-dark: #000000;
JSON
{
  "hex": "#c752e9",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 286.49,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6513,
    "c": 0.23242,
    "h": 317.8
  },
  "luminance": 0.2406
}

Semantic roles & 50–950 ramp

primary
#C752E9
secondary
#BCE7AF
accent
#DA0C3A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C752E9

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

Preview Lab → · Contrast checker → · Palette generator →

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