#C752E7#C752E7

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

Color values

HEX#C752E7
RGBrgb(199, 82, 231)
HSLhsl(287, 76%, 61%)
HSVhsv(287, 65%, 91%)
CMYKcmyk(13.9%, 64.5%, 0%, 9.4%)
CIE-LABlab(56.04, 67.27, -54.79)
CIE-LCHlch(56.04, 86.76, 320.84°)
OKLaboklab(65.01% 0.1722 -0.1534)
OKLCHoklch(65.01% 0.231 318.3)
XYZxyz(40.9923, 23.9480, 78.0490)
Luminance0.2395 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752E7 #72E752
analogous
#7D52E7 #C752E7 #E752BD
triadic
#C752E7 #E7C752 #52E7C7
tetradic
#C752E7 #E77D52 #72E752 #52BDE7
square
#C752E7 #E77D52 #72E752 #52BDE7
split-complementary
#C752E7 #BDE752 #52E77D
monochromatic
#8817A7 #B41FDD #C752E7 #D888EE #EABDF6

Accessibility & contrast

On white

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

On black

5.79
#C752E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752E7
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752E7#FFFFFF#000000##000000
##C752E71.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7FEB
Deuteranopia (green-blind)
#598AE3
Tritanopia (blue-blind)
#C66D96
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c752e7;
/* rgb */ color: rgb(199, 82, 231);
/* oklch */ color: oklch(65.0% 0.231 318.3);
Tailwind
colors: {
  custom: {
    50: '#dc8aef',
    500: '#c752e7',
    950: '#000000',
  },
}
SCSS
$custom: #c752e7;
$custom-light: #dc8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#c752e7",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 287.114,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65012,
    "c": 0.23062,
    "h": 318.3
  },
  "luminance": 0.23946
}

Semantic roles & 50–950 ramp

primary
#C752E7
secondary
#BBE6AF
accent
#D80E39
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C752E7

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

Preview Lab → · Contrast checker → · Palette generator →

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