#C252E7#C252E7

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

Color values

HEX#C252E7
RGBrgb(194, 82, 231)
HSLhsl(285, 76%, 61%)
HSVhsv(285, 65%, 91%)
CMYKcmyk(16%, 64.5%, 0%, 9.4%)
CIE-LABlab(55.35, 66.15, -55.92)
CIE-LCHlch(55.35, 86.62, 319.79°)
OKLaboklab(64.38% 0.1663 -0.1568)
OKLCHoklch(64.38% 0.229 316.7)
XYZxyz(39.6871, 23.2750, 77.9878)
Luminance0.2327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C252E7 #77E752
analogous
#7852E7 #C252E7 #E752C2
triadic
#C252E7 #E7C252 #52E7C2
tetradic
#C252E7 #E77852 #77E752 #52C2E7
square
#C252E7 #E77852 #77E752 #52C2E7
split-complementary
#C252E7 #C2E752 #52E778
monochromatic
#8417A7 #AE1FDD #C252E7 #D588EE #E8BDF6

Accessibility & contrast

On white

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

On black

5.65
#C252E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C252E7
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C252E7#FFFFFF#000000##000000
##C252E71.003.715.655.65
#FFFFFF3.711.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#157EEB
Deuteranopia (green-blind)
#5488E3
Tritanopia (blue-blind)
#C06D96
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c252e7;
/* rgb */ color: rgb(194, 82, 231);
/* oklch */ color: oklch(64.4% 0.229 316.7);
Tailwind
colors: {
  custom: {
    50: '#d88aef',
    500: '#c252e7',
    950: '#000000',
  },
}
SCSS
$custom: #c252e7;
$custom-light: #d88aef;
$custom-dark: #000000;
JSON
{
  "hex": "#c252e7",
  "rgb": {
    "r": 194,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 285.101,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6438,
    "c": 0.22861,
    "h": 316.7
  },
  "luminance": 0.23273
}

Semantic roles & 50–950 ramp

primary
#C252E7
secondary
#BCE6AF
accent
#D80E40
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C252E7

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

Preview Lab → · Contrast checker → · Palette generator →

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