#C252D5#C252D5

#C252D5 is a light, highly saturated purple. Relative luminance 0.223; OKLCH L 63.3% C 0.212 H 321.6°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#C252D5
RGBrgb(194, 82, 213)
HSLhsl(291, 61%, 58%)
HSVhsv(291, 62%, 84%)
CMYKcmyk(8.9%, 61.5%, 0%, 16.5%)
CIE-LABlab(54.35, 62.73, -47.34)
CIE-LCHlch(54.35, 78.59, 322.96°)
OKLaboklab(63.33% 0.1663 -0.1318)
OKLCHoklch(63.33% 0.212 321.6)
XYZxyz(37.2744, 22.3099, 65.2807)
Luminance0.2231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252D5 #65D552
analogous
#8152D5 #C252D5 #D552A6
triadic
#C252D5 #D5C252 #52D5C2
tetradic
#C252D5 #D58152 #65D552 #52A6D5
square
#C252D5 #D58152 #65D552 #52A6D5
split-complementary
#C252D5 #A6D552 #52D581
monochromatic
#7C228B #A72EBC #C252D5 #D383E1 #E5B4ED

Accessibility & contrast

On white

3.85
#C252D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#C252D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252D5
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252D5#FFFFFF#000000##000000
##C252D51.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#347AD9
Deuteranopia (green-blind)
#6186D2
Tritanopia (blue-blind)
#C4678C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c252d5;
/* rgb */ color: rgb(194, 82, 213);
/* oklch */ color: oklch(63.3% 0.212 321.6);
Tailwind
colors: {
  custom: {
    50: '#d889e2',
    500: '#c252d5',
    950: '#000000',
  },
}
SCSS
$custom: #c252d5;
$custom-light: #d889e2;
$custom-dark: #000000;
JSON
{
  "hex": "#c252d5",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 213
  },
  "hsl": {
    "h": 291.298,
    "s": 60.93,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63335,
    "c": 0.21221,
    "h": 321.6
  },
  "luminance": 0.22308
}

Semantic roles & 50–950 ramp

primary
#C252D5
secondary
#AFDCA7
accent
#E4445B
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C252D5

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

Preview Lab → · Contrast checker → · Palette generator →

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