#C252DD#C252DD

#C252DD is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.8% C 0.219 H 319.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C252DD
RGBrgb(194, 82, 221)
HSLhsl(288, 67%, 59%)
HSVhsv(288, 63%, 87%)
CMYKcmyk(12.2%, 62.9%, 0%, 13.3%)
CIE-LABlab(54.79, 64.23, -51.19)
CIE-LCHlch(54.79, 82.13, 321.45°)
OKLaboklab(63.79% 0.1664 -0.143)
OKLCHoklch(63.79% 0.219 319.3)
XYZxyz(38.3149, 22.7261, 70.7609)
Luminance0.2272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252DD #6DDD52
analogous
#7C52DD #C252DD #DD52B3
triadic
#C252DD #DDC252 #52DDC2
tetradic
#C252DD #DD7C52 #6DDD52 #52B3DD
square
#C252DD #DD7C52 #6DDD52 #52B3DD
split-complementary
#C252DD #B3DD52 #52DD7C
monochromatic
#7F1E97 #AB28CA #C252DD #D485E7 #E6B8F1

Accessibility & contrast

On white

3.79
#C252DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#C252DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252DD
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252DD#FFFFFF#000000##000000
##C252DD1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7CE1
Deuteranopia (green-blind)
#5C87DA
Tritanopia (blue-blind)
#C26A90
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c252dd;
/* rgb */ color: rgb(194, 82, 221);
/* oklch */ color: oklch(63.8% 0.219 319.3);
Tailwind
colors: {
  custom: {
    50: '#d88ae8',
    500: '#c252dd',
    950: '#000000',
  },
}
SCSS
$custom: #c252dd;
$custom-light: #d88ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#c252dd",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 221
  },
  "hsl": {
    "h": 288.345,
    "s": 67.15,
    "l": 59.412
  },
  "oklch": {
    "l": 0.6379,
    "c": 0.21945,
    "h": 319.3
  },
  "luminance": 0.22724
}

Semantic roles & 50–950 ramp

primary
#C252DD
secondary
#B5E0AA
accent
#EA3E5F
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C252DD

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

Preview Lab → · Contrast checker → · Palette generator →

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