#C252D7#C252D7

#C252D7 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.4% C 0.214 H 321.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#C252D7
RGBrgb(194, 82, 215)
HSLhsl(291, 62%, 58%)
HSVhsv(291, 62%, 84%)
CMYKcmyk(9.8%, 61.9%, 0%, 15.7%)
CIE-LABlab(54.46, 63.10, -48.31)
CIE-LCHlch(54.46, 79.47, 322.56°)
OKLaboklab(63.45% 0.1664 -0.1346)
OKLCHoklch(63.45% 0.214 321)
XYZxyz(37.5298, 22.4120, 66.6259)
Luminance0.2241 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252D7 #67D752
analogous
#7F52D7 #C252D7 #D752A9
triadic
#C252D7 #D7C252 #52D7C2
tetradic
#C252D7 #D77F52 #67D752 #52A9D7
square
#C252D7 #D77F52 #67D752 #52A9D7
split-complementary
#C252D7 #A9D752 #52D77F
monochromatic
#7D218E #A82CC0 #C252D7 #D484E2 #E5B5EE

Accessibility & contrast

On white

3.83
#C252D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#C252D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252D7
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252D7#FFFFFF#000000##000000
##C252D71.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#327ADB
Deuteranopia (green-blind)
#6086D4
Tritanopia (blue-blind)
#C4678D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #c252d7;
/* rgb */ color: rgb(194, 82, 215);
/* oklch */ color: oklch(63.4% 0.214 321.0);
Tailwind
colors: {
  custom: {
    50: '#d889e4',
    500: '#c252d7',
    950: '#000000',
  },
}
SCSS
$custom: #c252d7;
$custom-light: #d889e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c252d7",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 290.526,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63447,
    "c": 0.21401,
    "h": 321
  },
  "luminance": 0.2241
}

Semantic roles & 50–950 ramp

primary
#C252D7
secondary
#B0DDA8
accent
#E6425C
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C252D7

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

Preview Lab → · Contrast checker → · Palette generator →

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