#C752ED#C752ED

#C752ED is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.4% C 0.236 H 316.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#C752ED
RGBrgb(199, 82, 237)
HSLhsl(285, 81%, 63%)
HSVhsv(285, 65%, 93%)
CMYKcmyk(16%, 65.4%, 0%, 7.1%)
CIE-LABlab(56.38, 68.42, -57.60)
CIE-LCHlch(56.38, 89.44, 319.90°)
OKLaboklab(65.37% 0.172 -0.1616)
OKLCHoklch(65.37% 0.236 316.8)
XYZxyz(41.8543, 24.2928, 82.5886)
Luminance0.2429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752ED #78ED52
analogous
#7952ED #C752ED #ED52C6
triadic
#C752ED #EDC752 #52EDC7
tetradic
#C752ED #ED7952 #78ED52 #52C6ED
square
#C752ED #ED7952 #78ED52 #52C6ED
split-complementary
#C752ED #C6ED52 #52ED79
monochromatic
#8B13B2 #B51BE7 #C752ED #D989F3 #EBC1F9

Accessibility & contrast

On white

3.58
#C752ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#C752ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752ED
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752ED#FFFFFF#000000##000000
##C752ED1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0880F2
Deuteranopia (green-blind)
#548BE9
Tritanopia (blue-blind)
#C56F99
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c752ed;
/* rgb */ color: rgb(199, 82, 237);
/* oklch */ color: oklch(65.4% 0.236 316.8);
Tailwind
colors: {
  custom: {
    50: '#dc8af3',
    500: '#c752ed',
    950: '#000000',
  },
}
SCSS
$custom: #c752ed;
$custom-light: #dc8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#c752ed",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 285.29,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.6537,
    "c": 0.23605,
    "h": 316.8
  },
  "luminance": 0.24291
}

Semantic roles & 50–950 ramp

primary
#C752ED
secondary
#BFEAB1
accent
#DE083C
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C752ED

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

Preview Lab → · Contrast checker → · Palette generator →

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