#C252E9#C252E9

#C252E9 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.5% C 0.230 H 316.2°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#C252E9
RGBrgb(194, 82, 233)
HSLhsl(285, 77%, 62%)
HSVhsv(285, 65%, 91%)
CMYKcmyk(16.7%, 64.8%, 0%, 8.6%)
CIE-LABlab(55.47, 66.54, -56.86)
CIE-LCHlch(55.47, 87.53, 319.49°)
OKLaboklab(64.5% 0.1663 -0.1596)
OKLCHoklch(64.5% 0.23 316.2)
XYZxyz(39.9712, 23.3886, 79.4839)
Luminance0.2339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252E9 #79E952
analogous
#7752E9 #C252E9 #E952C5
triadic
#C252E9 #E9C252 #52E9C2
tetradic
#C252E9 #E97752 #79E952 #52C5E9
square
#C252E9 #E97752 #79E952 #52C5E9
split-complementary
#C252E9 #C5E952 #52E977
monochromatic
#8416AB #AE1DE1 #C252E9 #D588F0 #E8BFF7

Accessibility & contrast

On white

3.70
#C252E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#C252E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252E9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252E9#FFFFFF#000000##000000
##C252E91.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7EEE
Deuteranopia (green-blind)
#5288E5
Tritanopia (blue-blind)
#C06E97
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c252e9;
/* rgb */ color: rgb(194, 82, 233);
/* oklch */ color: oklch(64.5% 0.230 316.2);
Tailwind
colors: {
  custom: {
    50: '#d88af1',
    500: '#c252e9',
    950: '#000000',
  },
}
SCSS
$custom: #c252e9;
$custom-light: #d88af1;
$custom-dark: #000000;
JSON
{
  "hex": "#c252e9",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 233
  },
  "hsl": {
    "h": 284.503,
    "s": 77.436,
    "l": 61.765
  },
  "oklch": {
    "l": 0.64501,
    "c": 0.23045,
    "h": 316.2
  },
  "luminance": 0.23387
}

Semantic roles & 50–950 ramp

primary
#C252E9
secondary
#BEE7AF
accent
#DA0C41
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C252E9

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

Preview Lab → · Contrast checker → · Palette generator →

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