#C252CA#C252CA

#C252CA is a light, highly saturated purple. Relative luminance 0.218; OKLCH L 62.7% C 0.202 H 325.0°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#C252CA
RGBrgb(194, 82, 202)
HSLhsl(296, 53%, 56%)
HSVhsv(296, 59%, 79%)
CMYKcmyk(4%, 59.4%, 0%, 20.8%)
CIE-LABlab(53.78, 60.73, -41.98)
CIE-LCHlch(53.78, 73.82, 325.35°)
OKLaboklab(62.73% 0.1658 -0.1162)
OKLCHoklch(62.73% 0.202 325)
XYZxyz(35.9252, 21.7702, 58.1755)
Luminance0.2177 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252CA #5ACA52
analogous
#8652CA #C252CA #CA5296
triadic
#C252CA #CAC252 #52CAC2
tetradic
#C252CA #CA8652 #5ACA52 #5296CA
square
#C252CA #CA8652 #5ACA52 #5296CA
split-complementary
#C252CA #96CA52 #52CA86
monochromatic
#76267C #A334AB #C252CA #D381D8 #E3B0E7

Accessibility & contrast

On white

3.92
#C252CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#C252CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252CA
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252CA#FFFFFF#000000##000000
##C252CA1.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CE
Deuteranopia (green-blind)
#6785C7
Tritanopia (blue-blind)
#C66287
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c252ca;
/* rgb */ color: rgb(194, 82, 202);
/* oklch */ color: oklch(62.7% 0.202 325.0);
Tailwind
colors: {
  custom: {
    50: '#d789da',
    500: '#c252ca',
    950: '#000000',
  },
}
SCSS
$custom: #c252ca;
$custom-light: #d789da;
$custom-dark: #000000;
JSON
{
  "hex": "#c252ca",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 296,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.62734,
    "c": 0.20245,
    "h": 325
  },
  "luminance": 0.21768
}

Semantic roles & 50–950 ramp

primary
#C252CA
secondary
#A6D5A3
accent
#DD4B55
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C252CA

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

Preview Lab → · Contrast checker → · Palette generator →

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