#C252CD#C252CD

#C252CD is a light, highly saturated purple. Relative luminance 0.219; OKLCH L 62.9% C 0.205 H 324.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#C252CD
RGBrgb(194, 82, 205)
HSLhsl(295, 55%, 56%)
HSVhsv(295, 60%, 80%)
CMYKcmyk(5.4%, 60%, 0%, 19.6%)
CIE-LABlab(53.94, 61.27, -43.45)
CIE-LCHlch(53.94, 75.11, 324.66°)
OKLaboklab(62.9% 0.166 -0.1205)
OKLCHoklch(62.9% 0.205 324)
XYZxyz(36.2839, 21.9137, 60.0644)
Luminance0.2191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252CD #5DCD52
analogous
#8552CD #C252CD #CD529B
triadic
#C252CD #CDC252 #52CDC2
tetradic
#C252CD #CD8552 #5DCD52 #529BCD
square
#C252CD #CD8552 #5DCD52 #529BCD
split-complementary
#C252CD #9BCD52 #52CD85
monochromatic
#782580 #A433AF #C252CD #D381DB #E3B1E8

Accessibility & contrast

On white

3.90
#C252CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#C252CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252CD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252CD#FFFFFF#000000##000000
##C252CD1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D1
Deuteranopia (green-blind)
#6686CA
Tritanopia (blue-blind)
#C66488
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c252cd;
/* rgb */ color: rgb(194, 82, 205);
/* oklch */ color: oklch(62.9% 0.205 324.0);
Tailwind
colors: {
  custom: {
    50: '#d789dd',
    500: '#c252cd',
    950: '#000000',
  },
}
SCSS
$custom: #c252cd;
$custom-light: #d789dd;
$custom-dark: #000000;
JSON
{
  "hex": "#c252cd",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 205
  },
  "hsl": {
    "h": 294.634,
    "s": 55.157,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62895,
    "c": 0.20509,
    "h": 324
  },
  "luminance": 0.21912
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C252CD

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

Preview Lab → · Contrast checker → · Palette generator →

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