#C252E1#C252E1

#C252E1 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.0% C 0.223 H 318.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#C252E1
RGBrgb(194, 82, 225)
HSLhsl(287, 70%, 60%)
HSVhsv(287, 64%, 88%)
CMYKcmyk(13.8%, 63.6%, 0%, 11.8%)
CIE-LABlab(55.01, 64.99, -53.09)
CIE-LCHlch(55.01, 83.92, 320.76°)
OKLaboklab(64.02% 0.1664 -0.1486)
OKLCHoklch(64.02% 0.223 318.2)
XYZxyz(38.8542, 22.9418, 73.6011)
Luminance0.2294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252E1 #71E152
analogous
#7A52E1 #C252E1 #E152B8
triadic
#C252E1 #E1C252 #52E1C2
tetradic
#C252E1 #E17A52 #71E152 #52B8E1
square
#C252E1 #E17A52 #71E152 #52B8E1
split-complementary
#C252E1 #B8E152 #52E17A
monochromatic
#811B9D #AC24D1 #C252E1 #D486EA #E7BAF3

Accessibility & contrast

On white

3.76
#C252E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#C252E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252E1
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252E1#FFFFFF#000000##000000
##C252E11.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#237CE5
Deuteranopia (green-blind)
#5987DE
Tritanopia (blue-blind)
#C16B93
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c252e1;
/* rgb */ color: rgb(194, 82, 225);
/* oklch */ color: oklch(64.0% 0.223 318.2);
Tailwind
colors: {
  custom: {
    50: '#d88aeb',
    500: '#c252e1',
    950: '#000000',
  },
}
SCSS
$custom: #c252e1;
$custom-light: #d88aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#c252e1",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 286.993,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64023,
    "c": 0.2231,
    "h": 318.2
  },
  "luminance": 0.2294
}

Semantic roles & 50–950 ramp

primary
#C252E1
secondary
#B8E3AC
accent
#D2133D
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C252E1

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

Preview Lab → · Contrast checker → · Palette generator →

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