#C752FC#C752FC

#C752FC is a light, highly saturated purple. Relative luminance 0.252; OKLCH L 66.3% C 0.250 H 313.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#C752FC
RGBrgb(199, 82, 252)
HSLhsl(281, 97%, 65%)
HSVhsv(281, 67%, 99%)
CMYKcmyk(21%, 67.5%, 0%, 1.2%)
CIE-LABlab(57.28, 71.35, -64.52)
CIE-LCHlch(57.28, 96.19, 317.88°)
OKLaboklab(66.3% 0.1711 -0.1819)
OKLCHoklch(66.3% 0.25 313.3)
XYZxyz(44.1381, 25.2063, 94.6168)
Luminance0.2520 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752FC #87FC52
analogous
#7252FC #C752FC #FC52DC
triadic
#C752FC #FCC752 #52FCC7
tetradic
#C752FC #FC7252 #87FC52 #52DCFC
square
#C752FC #FC7252 #87FC52 #52DCFC
split-complementary
#C752FC #DCFC52 #52FC72
monochromatic
#9004D0 #B416FB #C752FC #DA8EFD #EECAFE

Accessibility & contrast

On white

3.48
#C752FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#C752FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752FC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752FC#FFFFFF#000000##000000
##C752FC1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#468CF8
Tritanopia (blue-blind)
#C275A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c752fc;
/* rgb */ color: rgb(199, 82, 252);
/* oklch */ color: oklch(66.3% 0.250 313.3);
Tailwind
colors: {
  custom: {
    50: '#dc8bfe',
    500: '#c752fc',
    950: '#000000',
  },
}
SCSS
$custom: #c752fc;
$custom-light: #dc8bfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c752fc",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 252
  },
  "hsl": {
    "h": 281.294,
    "s": 96.591,
    "l": 65.49
  },
  "oklch": {
    "l": 0.663,
    "c": 0.24973,
    "h": 313.3
  },
  "luminance": 0.25205
}

Semantic roles & 50–950 ramp

primary
#C752FC
secondary
#CAF1B8
accent
#E60048
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #C752FC

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

Preview Lab → · Contrast checker → · Palette generator →

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