#C752B4#C752B4

#C752B4 is a light, vivid purple. Relative luminance 0.215; OKLCH L 62.3% C 0.187 H 334.4°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#C752B4
RGBrgb(199, 82, 180)
HSLhsl(310, 51%, 55%)
HSVhsv(310, 59%, 78%)
CMYKcmyk(0%, 58.8%, 9.5%, 22%)
CIE-LABlab(53.47, 58.31, -29.74)
CIE-LCHlch(53.47, 65.46, 332.98°)
OKLaboklab(62.31% 0.1688 -0.0809)
OKLCHoklch(62.31% 0.187 334.4)
XYZxyz(34.8089, 21.4746, 45.4828)
Luminance0.2147 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752B4 #52C765
analogous
#A052C7 #C752B4 #C75279
triadic
#C752B4 #B4C752 #52B4C7
tetradic
#C752B4 #C7A052 #52C765 #5279C7
square
#C752B4 #C7A052 #52C765 #5279C7
split-complementary
#C752B4 #79C752 #52C7A0
monochromatic
#78276B #A63694 #C752B4 #D680C8 #E5AEDC

Accessibility & contrast

On white

3.97
#C752B4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#C752B4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752B4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752B4#FFFFFF#000000##000000
##C752B41.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5175B7
Deuteranopia (green-blind)
#7586B1
Tritanopia (blue-blind)
#D05A7B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c752b4;
/* rgb */ color: rgb(199, 82, 180);
/* oklch */ color: oklch(62.3% 0.187 334.4);
Tailwind
colors: {
  custom: {
    50: '#db89ca',
    500: '#c752b4',
    950: '#000000',
  },
}
SCSS
$custom: #c752b4;
$custom-light: #db89ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c752b4",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 180
  },
  "hsl": {
    "h": 309.744,
    "s": 51.092,
    "l": 55.098
  },
  "oklch": {
    "l": 0.62309,
    "c": 0.18718,
    "h": 334.4
  },
  "luminance": 0.21472
}

Semantic roles & 50–950 ramp

primary
#C752B4
secondary
#A2D3AA
accent
#DB644D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C752B4

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

Preview Lab → · Contrast checker → · Palette generator →

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