#C252D1#C252D1

#C252D1 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.1% C 0.209 H 322.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C252D1
RGBrgb(194, 82, 209)
HSLhsl(293, 58%, 57%)
HSVhsv(293, 61%, 82%)
CMYKcmyk(7.2%, 60.8%, 0%, 18%)
CIE-LABlab(54.14, 61.99, -45.40)
CIE-LCHlch(54.14, 76.84, 323.78°)
OKLaboklab(63.11% 0.1662 -0.1262)
OKLCHoklch(63.11% 0.209 322.8)
XYZxyz(36.7729, 22.1093, 62.6398)
Luminance0.2211 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252D1 #61D152
analogous
#8252D1 #C252D1 #D152A1
triadic
#C252D1 #D1C252 #52D1C2
tetradic
#C252D1 #D18252 #61D152 #52A1D1
square
#C252D1 #D18252 #61D152 #52A1D1
split-complementary
#C252D1 #A1D152 #52D182
monochromatic
#7A2385 #A630B6 #C252D1 #D382DE #E4B3EB

Accessibility & contrast

On white

3.87
#C252D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#C252D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252D1
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252D1#FFFFFF#000000##000000
##C252D11.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3979D5
Deuteranopia (green-blind)
#6386CE
Tritanopia (blue-blind)
#C5658A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #c252d1;
/* rgb */ color: rgb(194, 82, 209);
/* oklch */ color: oklch(63.1% 0.209 322.8);
Tailwind
colors: {
  custom: {
    50: '#d789df',
    500: '#c252d1',
    950: '#000000',
  },
}
SCSS
$custom: #c252d1;
$custom-light: #d789df;
$custom-dark: #000000;
JSON
{
  "hex": "#c252d1",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 209
  },
  "hsl": {
    "h": 292.913,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.63113,
    "c": 0.20864,
    "h": 322.8
  },
  "luminance": 0.22107
}

Semantic roles & 50–950 ramp

primary
#C252D1
secondary
#ACD9A6
accent
#E14759
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150C15
muted
#837D83

Preview Lab

Preview with #C252D1

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

Preview Lab → · Contrast checker → · Palette generator →

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