#C752F9#C752F9

#C752F9 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.1% C 0.247 H 313.9°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#C752F9
RGBrgb(199, 82, 249)
HSLhsl(282, 93%, 65%)
HSVhsv(282, 67%, 98%)
CMYKcmyk(20.1%, 67.1%, 0%, 2.4%)
CIE-LABlab(57.09, 70.76, -63.15)
CIE-LCHlch(57.09, 94.84, 318.25°)
OKLaboklab(66.11% 0.1714 -0.1779)
OKLCHoklch(66.11% 0.247 313.9)
XYZxyz(43.6665, 25.0176, 92.1328)
Luminance0.2502 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752F9 #84F952
analogous
#7452F9 #C752F9 #F952D7
triadic
#C752F9 #F9C752 #52F9C7
tetradic
#C752F9 #F97452 #84F952 #52D7F9
square
#C752F9 #F97452 #84F952 #52D7F9
split-complementary
#C752F9 #D7F952 #52F974
monochromatic
#8F07CA #B417F7 #C752F9 #DA8DFB #EDC8FD

Accessibility & contrast

On white

3.50
#C752F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#C752F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752F9
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752F9#FFFFFF#000000##000000
##C752F91.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FE
Deuteranopia (green-blind)
#498CF5
Tritanopia (blue-blind)
#C2749F
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c752f9;
/* rgb */ color: rgb(199, 82, 249);
/* oklch */ color: oklch(66.1% 0.247 313.9);
Tailwind
colors: {
  custom: {
    50: '#dc8bfc',
    500: '#c752f9',
    950: '#000000',
  },
}
SCSS
$custom: #c752f9;
$custom-light: #dc8bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#c752f9",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 249
  },
  "hsl": {
    "h": 282.036,
    "s": 93.296,
    "l": 64.902
  },
  "oklch": {
    "l": 0.6611,
    "c": 0.24699,
    "h": 313.9
  },
  "luminance": 0.25016
}

Semantic roles & 50–950 ramp

primary
#C752F9
secondary
#C8F0B7
accent
#E60045
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #C752F9

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

Preview Lab → · Contrast checker → · Palette generator →

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