#C252E8#C252E8

#C252E8 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.4% C 0.230 H 316.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#C252E8
RGBrgb(194, 82, 232)
HSLhsl(285, 77%, 62%)
HSVhsv(285, 65%, 91%)
CMYKcmyk(16.4%, 64.7%, 0%, 9%)
CIE-LABlab(55.41, 66.35, -56.39)
CIE-LCHlch(55.41, 87.07, 319.64°)
OKLaboklab(64.44% 0.1663 -0.1582)
OKLCHoklch(64.44% 0.23 316.4)
XYZxyz(39.8287, 23.3316, 78.7337)
Luminance0.2333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252E8 #78E852
analogous
#7752E8 #C252E8 #E852C3
triadic
#C252E8 #E8C252 #52E8C2
tetradic
#C252E8 #E87752 #78E852 #52C3E8
square
#C252E8 #E87752 #78E852 #52C3E8
split-complementary
#C252E8 #C3E852 #52E877
monochromatic
#8416A9 #AE1EDF #C252E8 #D588EF #E8BEF6

Accessibility & contrast

On white

3.71
#C252E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#C252E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252E8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252E8#FFFFFF#000000##000000
##C252E81.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#117EEC
Deuteranopia (green-blind)
#5388E4
Tritanopia (blue-blind)
#C06E96
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c252e8;
/* rgb */ color: rgb(194, 82, 232);
/* oklch */ color: oklch(64.4% 0.230 316.4);
Tailwind
colors: {
  custom: {
    50: '#d88af0',
    500: '#c252e8',
    950: '#000000',
  },
}
SCSS
$custom: #c252e8;
$custom-light: #d88af0;
$custom-dark: #000000;
JSON
{
  "hex": "#c252e8",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 284.8,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.6444,
    "c": 0.22953,
    "h": 316.4
  },
  "luminance": 0.2333
}

Semantic roles & 50–950 ramp

primary
#C252E8
secondary
#BDE7AF
accent
#D90D40
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C252E8

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

Preview Lab → · Contrast checker → · Palette generator →

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