#C452E7#C452E7

#C452E7 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.6% C 0.229 H 317.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#C452E7
RGBrgb(196, 82, 231)
HSLhsl(286, 76%, 61%)
HSVhsv(286, 65%, 91%)
CMYKcmyk(15.2%, 64.5%, 0%, 9.4%)
CIE-LABlab(55.63, 66.60, -55.47)
CIE-LCHlch(55.63, 86.67, 320.21°)
OKLaboklab(64.63% 0.1687 -0.1555)
OKLCHoklch(64.63% 0.229 317.3)
XYZxyz(40.2040, 23.5415, 78.0120)
Luminance0.2354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C452E7 #75E752
analogous
#7A52E7 #C452E7 #E752C0
triadic
#C452E7 #E7C452 #52E7C4
tetradic
#C452E7 #E77A52 #75E752 #52C0E7
square
#C452E7 #E77A52 #75E752 #52C0E7
split-complementary
#C452E7 #C0E752 #52E77A
monochromatic
#8617A7 #B01FDD #C452E7 #D688EE #E9BDF6

Accessibility & contrast

On white

3.68
#C452E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#C452E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C452E7
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C452E7#FFFFFF#000000##000000
##C452E71.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#187EEB
Deuteranopia (green-blind)
#5689E3
Tritanopia (blue-blind)
#C36D96
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c452e7;
/* rgb */ color: rgb(196, 82, 231);
/* oklch */ color: oklch(64.6% 0.229 317.3);
Tailwind
colors: {
  custom: {
    50: '#d98aef',
    500: '#c452e7',
    950: '#000000',
  },
}
SCSS
$custom: #c452e7;
$custom-light: #d98aef;
$custom-dark: #000000;
JSON
{
  "hex": "#c452e7",
  "rgb": {
    "r": 196,
    "g": 82,
    "b": 231
  },
  "hsl": {
    "h": 285.906,
    "s": 75.635,
    "l": 61.373
  },
  "oklch": {
    "l": 0.64632,
    "c": 0.2294,
    "h": 317.3
  },
  "luminance": 0.2354
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C452E7

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

Preview Lab → · Contrast checker → · Palette generator →

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