#C252DF#C252DF

#C252DF is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 63.9% C 0.221 H 318.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#C252DF
RGBrgb(194, 82, 223)
HSLhsl(288, 69%, 60%)
HSVhsv(288, 63%, 87%)
CMYKcmyk(13%, 63.2%, 0%, 12.5%)
CIE-LABlab(54.90, 64.61, -52.14)
CIE-LCHlch(54.90, 83.03, 321.10°)
OKLaboklab(63.91% 0.1664 -0.1458)
OKLCHoklch(63.91% 0.221 318.8)
XYZxyz(38.5829, 22.8333, 72.1726)
Luminance0.2283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252DF #6FDF52
analogous
#7C52DF #C252DF #DF52B5
triadic
#C252DF #DFC252 #52DFC2
tetradic
#C252DF #DF7C52 #6FDF52 #52B5DF
square
#C252DF #DF7C52 #6FDF52 #52B5DF
split-complementary
#C252DF #B5DF52 #52DF7C
monochromatic
#801D9A #AB26CE #C252DF #D486E9 #E6B9F2

Accessibility & contrast

On white

3.77
#C252DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#C252DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252DF
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252DF#FFFFFF#000000##000000
##C252DF1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#267CE3
Deuteranopia (green-blind)
#5A87DC
Tritanopia (blue-blind)
#C26A91
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c252df;
/* rgb */ color: rgb(194, 82, 223);
/* oklch */ color: oklch(63.9% 0.221 318.8);
Tailwind
colors: {
  custom: {
    50: '#d88ae9',
    500: '#c252df',
    950: '#000000',
  },
}
SCSS
$custom: #c252df;
$custom-light: #d88ae9;
$custom-dark: #000000;
JSON
{
  "hex": "#c252df",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 287.66,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63906,
    "c": 0.22127,
    "h": 318.8
  },
  "luminance": 0.22832
}

Semantic roles & 50–950 ramp

primary
#C252DF
secondary
#B6E2AB
accent
#EC3C60
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C252DF

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

Preview Lab → · Contrast checker → · Palette generator →

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