#C752EB#C752EB

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

Color values

HEX#C752EB
RGBrgb(199, 82, 235)
HSLhsl(286, 79%, 62%)
HSVhsv(286, 65%, 92%)
CMYKcmyk(15.3%, 65.1%, 0%, 7.8%)
CIE-LABlab(56.26, 68.03, -56.67)
CIE-LCHlch(56.26, 88.54, 320.21°)
OKLaboklab(65.25% 0.1721 -0.1589)
OKLCHoklch(65.25% 0.234 317.3)
XYZxyz(41.5637, 24.1765, 81.0583)
Luminance0.2417 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752EB #76EB52
analogous
#7A52EB #C752EB #EB52C3
triadic
#C752EB #EBC752 #52EBC7
tetradic
#C752EB #EB7A52 #76EB52 #52C3EB
square
#C752EB #EB7A52 #76EB52 #52C3EB
split-complementary
#C752EB #C3EB52 #52EB7A
monochromatic
#8A14AE #B51BE5 #C752EB #D989F1 #EBC0F8

Accessibility & contrast

On white

3.60
#C752EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#C752EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752EB
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752EB#FFFFFF#000000##000000
##C752EB1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1180F0
Deuteranopia (green-blind)
#568AE7
Tritanopia (blue-blind)
#C66E98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c752eb;
/* rgb */ color: rgb(199, 82, 235);
/* oklch */ color: oklch(65.3% 0.234 317.3);
Tailwind
colors: {
  custom: {
    50: '#dc8af2',
    500: '#c752eb',
    950: '#000000',
  },
}
SCSS
$custom: #c752eb;
$custom-light: #dc8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#c752eb",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 285.882,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.6525,
    "c": 0.23423,
    "h": 317.3
  },
  "luminance": 0.24175
}

Semantic roles & 50–950 ramp

primary
#C752EB
secondary
#BEE8B0
accent
#DC0A3B
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C752EB

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

Preview Lab → · Contrast checker → · Palette generator →

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