#C252CE#C252CE

#C252CE is a light, highly saturated purple. Relative luminance 0.220; OKLCH L 62.9% C 0.206 H 323.7°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#C252CE
RGBrgb(194, 82, 206)
HSLhsl(294, 56%, 56%)
HSVhsv(294, 60%, 81%)
CMYKcmyk(5.8%, 60.2%, 0%, 19.2%)
CIE-LABlab(53.99, 61.45, -43.94)
CIE-LCHlch(53.99, 75.54, 324.43°)
OKLaboklab(62.95% 0.166 -0.1219)
OKLCHoklch(62.95% 0.206 323.7)
XYZxyz(36.4050, 21.9621, 60.7021)
Luminance0.2196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252CE #5ECE52
analogous
#8452CE #C252CE #CE529C
triadic
#C252CE #CEC252 #52CEC2
tetradic
#C252CE #CE8452 #5ECE52 #529CCE
square
#C252CE #CE8452 #5ECE52 #529CCE
split-complementary
#C252CE #9CCE52 #52CE84
monochromatic
#782581 #A432B1 #C252CE #D382DC #E4B1E9

Accessibility & contrast

On white

3.89
#C252CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#C252CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252CE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252CE#FFFFFF#000000##000000
##C252CE1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D2
Deuteranopia (green-blind)
#6586CB
Tritanopia (blue-blind)
#C56489
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c252ce;
/* rgb */ color: rgb(194, 82, 206);
/* oklch */ color: oklch(62.9% 0.206 323.7);
Tailwind
colors: {
  custom: {
    50: '#d789dd',
    500: '#c252ce',
    950: '#000000',
  },
}
SCSS
$custom: #c252ce;
$custom-light: #d789dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c252ce",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 206
  },
  "hsl": {
    "h": 294.194,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62949,
    "c": 0.20597,
    "h": 323.7
  },
  "luminance": 0.2196
}

Semantic roles & 50–950 ramp

primary
#C252CE
secondary
#A9D7A4
accent
#DF4957
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C252CE

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

Preview Lab → · Contrast checker → · Palette generator →

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