#C752EF#C752EF

#C752EF is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.5% C 0.238 H 316.3°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#C752EF
RGBrgb(199, 82, 239)
HSLhsl(285, 83%, 63%)
HSVhsv(285, 66%, 94%)
CMYKcmyk(16.7%, 65.7%, 0%, 6.3%)
CIE-LABlab(56.50, 68.80, -58.54)
CIE-LCHlch(56.50, 90.33, 319.61°)
OKLaboklab(65.49% 0.172 -0.1643)
OKLCHoklch(65.49% 0.238 316.3)
XYZxyz(42.1481, 24.4103, 84.1361)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C752EF #7AEF52
analogous
#7852EF #C752EF #EF52C9
triadic
#C752EF #EFC752 #52EFC7
tetradic
#C752EF #EF7852 #7AEF52 #52C9EF
square
#C752EF #EF7852 #7AEF52 #52C9EF
split-complementary
#C752EF #C9EF52 #52EF78
monochromatic
#8C11B6 #B51AEA #C752EF #D98AF4 #EBC2F9

Accessibility & contrast

On white

3.57
#C752EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#C752EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C752EF
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C752EF#FFFFFF#000000##000000
##C752EF1.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F4
Deuteranopia (green-blind)
#538BEB
Tritanopia (blue-blind)
#C5709A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c752ef;
/* rgb */ color: rgb(199, 82, 239);
/* oklch */ color: oklch(65.5% 0.238 316.3);
Tailwind
colors: {
  custom: {
    50: '#dc8bf5',
    500: '#c752ef',
    950: '#000000',
  },
}
SCSS
$custom: #c752ef;
$custom-light: #dc8bf5;
$custom-dark: #000000;
JSON
{
  "hex": "#c752ef",
  "rgb": {
    "r": 199,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 284.713,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65491,
    "c": 0.23785,
    "h": 316.3
  },
  "luminance": 0.24409
}

Semantic roles & 50–950 ramp

primary
#C752EF
secondary
#C1EBB2
accent
#DF063D
background
#FDF8FF
surface
#FBF0FE
border
#D4CBD6
text
#150C17
muted
#837D85

Preview Lab

Preview with #C752EF

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

Preview Lab → · Contrast checker → · Palette generator →

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