#C752E5#C752E5

#C752E5 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.9% C 0.229 H 318.8°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#C752E5
RGBrgb(199, 82, 229)
HSLhsl(288, 74%, 61%)
HSVhsv(288, 64%, 90%)
CMYKcmyk(13.1%, 64.2%, 0%, 10.2%)
CIE-LABlab(55.92, 66.89, -53.85)
CIE-LCHlch(55.92, 85.87, 321.17°)
OKLaboklab(64.89% 0.1722 -0.1506)
OKLCHoklch(64.89% 0.229 318.8)
XYZxyz(40.7115, 23.8356, 76.5698)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752E5 #70E552
analogous
#7D52E5 #C752E5 #E552B9
triadic
#C752E5 #E5C752 #52E5C7
tetradic
#C752E5 #E57D52 #70E552 #52B9E5
square
#C752E5 #E57D52 #70E552 #52B9E5
split-complementary
#C752E5 #B9E552 #52E57D
monochromatic
#8819A4 #B421D9 #C752E5 #D887ED #E9BCF5

Accessibility & contrast

On white

3.64
#C752E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#C752E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752E5
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752E5#FFFFFF#000000##000000
##C752E51.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#217EE9
Deuteranopia (green-blind)
#5B8AE1
Tritanopia (blue-blind)
#C76C95
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c752e5;
/* rgb */ color: rgb(199, 82, 229);
/* oklch */ color: oklch(64.9% 0.229 318.8);
Tailwind
colors: {
  custom: {
    50: '#dc8aee',
    500: '#c752e5',
    950: '#000000',
  },
}
SCSS
$custom: #c752e5;
$custom-light: #dc8aee;
$custom-dark: #000000;
JSON
{
  "hex": "#c752e5",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 287.755,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.64894,
    "c": 0.22882,
    "h": 318.8
  },
  "luminance": 0.23834
}

Semantic roles & 50–950 ramp

primary
#C752E5
secondary
#B9E5AE
accent
#D61038
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C752E5

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

Preview Lab → · Contrast checker → · Palette generator →

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