#C252DE#C252DE

#C252DE is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.8% C 0.220 H 319.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#C252DE
RGBrgb(194, 82, 222)
HSLhsl(288, 68%, 60%)
HSVhsv(288, 63%, 87%)
CMYKcmyk(12.6%, 63.1%, 0%, 12.9%)
CIE-LABlab(54.84, 64.42, -51.66)
CIE-LCHlch(54.84, 82.58, 321.27°)
OKLaboklab(63.85% 0.1665 -0.1444)
OKLCHoklch(63.85% 0.22 319.1)
XYZxyz(38.4485, 22.7796, 71.4647)
Luminance0.2278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252DE #6EDE52
analogous
#7C52DE #C252DE #DE52B4
triadic
#C252DE #DEC252 #52DEC2
tetradic
#C252DE #DE7C52 #6EDE52 #52B4DE
square
#C252DE #DE7C52 #6EDE52 #52B4DE
split-complementary
#C252DE #B4DE52 #52DE7C
monochromatic
#801D99 #AB27CC #C252DE #D485E8 #E6B9F2

Accessibility & contrast

On white

3.78
#C252DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#C252DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252DE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252DE#FFFFFF#000000##000000
##C252DE1.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#287CE2
Deuteranopia (green-blind)
#5B87DB
Tritanopia (blue-blind)
#C26A91
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c252de;
/* rgb */ color: rgb(194, 82, 222);
/* oklch */ color: oklch(63.8% 0.220 319.1);
Tailwind
colors: {
  custom: {
    50: '#d88ae9',
    500: '#c252de',
    950: '#000000',
  },
}
SCSS
$custom: #c252de;
$custom-light: #d88ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#c252de",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 288,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.63848,
    "c": 0.22036,
    "h": 319.1
  },
  "luminance": 0.22778
}

Semantic roles & 50–950 ramp

primary
#C252DE
secondary
#B6E1AB
accent
#EB3D60
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C252DE

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

Preview Lab → · Contrast checker → · Palette generator →

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