#C252E4#C252E4

#C252E4 is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.2% C 0.226 H 317.5°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#C252E4
RGBrgb(194, 82, 228)
HSLhsl(286, 73%, 61%)
HSVhsv(286, 64%, 89%)
CMYKcmyk(14.9%, 64%, 0%, 10.6%)
CIE-LABlab(55.18, 65.57, -54.51)
CIE-LCHlch(55.18, 85.27, 320.26°)
OKLaboklab(64.2% 0.1664 -0.1527)
OKLCHoklch(64.2% 0.226 317.5)
XYZxyz(39.2670, 23.1069, 75.7754)
Luminance0.2311 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252E4 #74E452
analogous
#7952E4 #C252E4 #E452BD
triadic
#C252E4 #E4C252 #52E4C2
tetradic
#C252E4 #E47952 #74E452 #52BDE4
square
#C252E4 #E47952 #74E452 #52BDE4
split-complementary
#C252E4 #BDE452 #52E479
monochromatic
#8219A2 #AD22D7 #C252E4 #D587EC #E7BCF5

Accessibility & contrast

On white

3.74
#C252E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#C252E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252E4
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252E4#FFFFFF#000000##000000
##C252E41.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7DE8
Deuteranopia (green-blind)
#5688E0
Tritanopia (blue-blind)
#C16C94
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c252e4;
/* rgb */ color: rgb(194, 82, 228);
/* oklch */ color: oklch(64.2% 0.226 317.5);
Tailwind
colors: {
  custom: {
    50: '#d88aed',
    500: '#c252e4',
    950: '#000000',
  },
}
SCSS
$custom: #c252e4;
$custom-light: #d88aed;
$custom-dark: #000000;
JSON
{
  "hex": "#c252e4",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 228
  },
  "hsl": {
    "h": 286.027,
    "s": 73,
    "l": 60.784
  },
  "oklch": {
    "l": 0.64201,
    "c": 0.22585,
    "h": 317.5
  },
  "luminance": 0.23105
}

Semantic roles & 50–950 ramp

primary
#C252E4
secondary
#BAE5AD
accent
#D5103E
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C252E4

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

Preview Lab → · Contrast checker → · Palette generator →

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