#C752F4#C752F4

#C752F4 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.8% C 0.242 H 315.1°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#C752F4
RGBrgb(199, 82, 244)
HSLhsl(283, 88%, 64%)
HSVhsv(283, 66%, 96%)
CMYKcmyk(18.4%, 66.4%, 0%, 4.3%)
CIE-LABlab(56.79, 69.77, -60.85)
CIE-LCHlch(56.79, 92.58, 318.91°)
OKLaboklab(65.8% 0.1717 -0.1711)
OKLCHoklch(65.8% 0.242 315.1)
XYZxyz(42.8970, 24.7099, 88.0802)
Luminance0.2471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752F4 #7FF452
analogous
#7652F4 #C752F4 #F452D0
triadic
#C752F4 #F4C752 #52F4C7
tetradic
#C752F4 #F47652 #7FF452 #52D0F4
square
#C752F4 #F47652 #7FF452 #52D0F4
split-complementary
#C752F4 #D0F452 #52F476
monochromatic
#8E0CBF #B418F0 #C752F4 #DA8CF8 #ECC5FB

Accessibility & contrast

On white

3.53
#C752F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#C752F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752F4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752F4#FFFFFF#000000##000000
##C752F41.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F9
Deuteranopia (green-blind)
#4E8BF0
Tritanopia (blue-blind)
#C3729D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c752f4;
/* rgb */ color: rgb(199, 82, 244);
/* oklch */ color: oklch(65.8% 0.242 315.1);
Tailwind
colors: {
  custom: {
    50: '#dc8bf8',
    500: '#c752f4',
    950: '#000000',
  },
}
SCSS
$custom: #c752f4;
$custom-light: #dc8bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#c752f4",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 244
  },
  "hsl": {
    "h": 283.333,
    "s": 88.043,
    "l": 63.922
  },
  "oklch": {
    "l": 0.65798,
    "c": 0.24241,
    "h": 315.1
  },
  "luminance": 0.24708
}

Semantic roles & 50–950 ramp

primary
#C752F4
secondary
#C4EDB4
accent
#E50140
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#150D17
muted
#847D85

Preview Lab

Preview with #C752F4

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

Preview Lab → · Contrast checker → · Palette generator →

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