#C252ED#C252ED

#C252ED is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.7% C 0.234 H 315.2°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#C252ED
RGBrgb(194, 82, 237)
HSLhsl(283, 81%, 63%)
HSVhsv(283, 65%, 93%)
CMYKcmyk(18.1%, 65.4%, 0%, 7.1%)
CIE-LABlab(55.71, 67.33, -58.72)
CIE-LCHlch(55.71, 89.34, 318.91°)
OKLaboklab(64.74% 0.1661 -0.165)
OKLCHoklch(64.74% 0.234 315.2)
XYZxyz(40.5490, 23.6198, 82.5274)
Luminance0.2362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252ED #7DED52
analogous
#7552ED #C252ED #ED52CA
triadic
#C252ED #EDC252 #52EDC2
tetradic
#C252ED #ED7552 #7DED52 #52CAED
square
#C252ED #ED7552 #7DED52 #52CAED
split-complementary
#C252ED #CAED52 #52ED75
monochromatic
#8613B2 #AE1BE7 #C252ED #D689F3 #E9C1F9

Accessibility & contrast

On white

3.67
#C252ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#C252ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252ED
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252ED#FFFFFF#000000##000000
##C252ED1.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF2
Deuteranopia (green-blind)
#4F88E9
Tritanopia (blue-blind)
#BF7099
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c252ed;
/* rgb */ color: rgb(194, 82, 237);
/* oklch */ color: oklch(64.7% 0.234 315.2);
Tailwind
colors: {
  custom: {
    50: '#d88af3',
    500: '#c252ed',
    950: '#000000',
  },
}
SCSS
$custom: #c252ed;
$custom-light: #d88af3;
$custom-dark: #000000;
JSON
{
  "hex": "#c252ed",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 237
  },
  "hsl": {
    "h": 283.355,
    "s": 81.152,
    "l": 62.549
  },
  "oklch": {
    "l": 0.64745,
    "c": 0.23415,
    "h": 315.2
  },
  "luminance": 0.23618
}

Semantic roles & 50–950 ramp

primary
#C252ED
secondary
#C1EAB1
accent
#DE0843
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C252ED

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

Preview Lab → · Contrast checker → · Palette generator →

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