#C252C8#C252C8

#C252C8 is a light, highly saturated purple. Relative luminance 0.217; OKLCH L 62.6% C 0.201 H 325.6°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#C252C8
RGBrgb(194, 82, 200)
HSLhsl(297, 52%, 55%)
HSVhsv(297, 59%, 78%)
CMYKcmyk(3%, 59%, 0%, 21.6%)
CIE-LABlab(53.68, 60.37, -40.99)
CIE-LCHlch(53.68, 72.97, 325.83°)
OKLaboklab(62.63% 0.1656 -0.1134)
OKLCHoklch(62.63% 0.201 325.6)
XYZxyz(35.6900, 21.6761, 56.9364)
Luminance0.2167 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252C8 #58C852
analogous
#8752C8 #C252C8 #C85293
triadic
#C252C8 #C8C252 #52C8C2
tetradic
#C252C8 #C88752 #58C852 #5293C8
square
#C252C8 #C88752 #58C852 #5293C8
split-complementary
#C252C8 #93C852 #52C887
monochromatic
#752779 #A235A8 #C252C8 #D280D7 #E3AFE6

Accessibility & contrast

On white

3.94
#C252C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#C252C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252C8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252C8#FFFFFF#000000##000000
##C252C81.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4177CC
Deuteranopia (green-blind)
#6885C5
Tritanopia (blue-blind)
#C66285
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #c252c8;
/* rgb */ color: rgb(194, 82, 200);
/* oklch */ color: oklch(62.6% 0.201 325.6);
Tailwind
colors: {
  custom: {
    50: '#d789d9',
    500: '#c252c8',
    950: '#000000',
  },
}
SCSS
$custom: #c252c8;
$custom-light: #d789d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c252c8",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 296.949,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62628,
    "c": 0.2007,
    "h": 325.6
  },
  "luminance": 0.21674
}

Semantic roles & 50–950 ramp

primary
#C252C8
secondary
#A5D4A2
accent
#DB4D54
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C252C8

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

Preview Lab → · Contrast checker → · Palette generator →

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