#C252DA#C252DA

#C252DA is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.6% C 0.217 H 320.2°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#C252DA
RGBrgb(194, 82, 218)
HSLhsl(289, 65%, 59%)
HSVhsv(289, 62%, 85%)
CMYKcmyk(11%, 62.4%, 0%, 14.5%)
CIE-LABlab(54.62, 63.67, -49.75)
CIE-LCHlch(54.62, 80.80, 321.99°)
OKLaboklab(63.62% 0.1664 -0.1388)
OKLCHoklch(63.62% 0.217 320.2)
XYZxyz(37.9188, 22.5677, 68.6747)
Luminance0.2257 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252DA #6ADA52
analogous
#7E52DA #C252DA #DA52AE
triadic
#C252DA #DAC252 #52DAC2
tetradic
#C252DA #DA7E52 #6ADA52 #52AEDA
square
#C252DA #DA7E52 #6ADA52 #52AEDA
split-complementary
#C252DA #AEDA52 #52DA7E
monochromatic
#7E1F92 #A92AC5 #C252DA #D484E5 #E6B7F0

Accessibility & contrast

On white

3.81
#C252DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#C252DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252DA
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252DA#FFFFFF#000000##000000
##C252DA1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7BDE
Deuteranopia (green-blind)
#5E87D7
Tritanopia (blue-blind)
#C3688F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c252da;
/* rgb */ color: rgb(194, 82, 218);
/* oklch */ color: oklch(63.6% 0.217 320.2);
Tailwind
colors: {
  custom: {
    50: '#d889e6',
    500: '#c252da',
    950: '#000000',
  },
}
SCSS
$custom: #c252da;
$custom-light: #d889e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c252da",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 218
  },
  "hsl": {
    "h": 289.412,
    "s": 64.762,
    "l": 58.824
  },
  "oklch": {
    "l": 0.63618,
    "c": 0.21673,
    "h": 320.2
  },
  "luminance": 0.22566
}

Semantic roles & 50–950 ramp

primary
#C252DA
secondary
#B3DFA9
accent
#E8405E
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C252DA

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

Preview Lab → · Contrast checker → · Palette generator →

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