#C752FF#C752FF

#C752FF is a light, highly saturated purple. Relative luminance 0.254; OKLCH L 66.5% C 0.252 H 312.6°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#C752FF
RGBrgb(199, 82, 255)
HSLhsl(281, 100%, 66%)
HSVhsv(281, 68%, 100%)
CMYKcmyk(22%, 67.8%, 0%, 0%)
CIE-LABlab(57.46, 71.95, -65.88)
CIE-LCHlch(57.46, 97.55, 317.52°)
OKLaboklab(66.49% 0.1709 -0.1859)
OKLCHoklch(66.49% 0.252 312.6)
XYZxyz(44.6173, 25.3980, 97.1403)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752FF #8AFF52
analogous
#7052FF #C752FF #FF52E0
triadic
#C752FF #FFC752 #52FFC7
tetradic
#C752FF #FF7052 #8AFF52 #52E0FF
square
#C752FF #FF7052 #8AFF52 #52E0FF
split-complementary
#C752FF #E0FF52 #52FF70
monochromatic
#9100D7 #B315FF #C752FF #DB8FFF #EFCCFF

Accessibility & contrast

On white

3.45
#C752FF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#C752FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752FF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752FF#FFFFFF#000000##000000
##C752FF1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#428CFB
Tritanopia (blue-blind)
#C176A3
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c752ff;
/* rgb */ color: rgb(199, 82, 255);
/* oklch */ color: oklch(66.5% 0.252 312.6);
Tailwind
colors: {
  custom: {
    50: '#dc8bff',
    500: '#c752ff',
    950: '#000000',
  },
}
SCSS
$custom: #c752ff;
$custom-light: #dc8bff;
$custom-dark: #000000;
JSON
{
  "hex": "#c752ff",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 280.578,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.66491,
    "c": 0.25248,
    "h": 312.6
  },
  "luminance": 0.25397
}

Semantic roles & 50–950 ramp

primary
#C752FF
secondary
#CCF3BA
accent
#E6004A
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #C752FF

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

Preview Lab → · Contrast checker → · Palette generator →

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