#C452E2#C452E2

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

Color values

HEX#C452E2
RGBrgb(196, 82, 226)
HSLhsl(288, 71%, 60%)
HSVhsv(288, 64%, 89%)
CMYKcmyk(13.3%, 63.7%, 0%, 11.4%)
CIE-LABlab(55.34, 65.64, -53.11)
CIE-LCHlch(55.34, 84.44, 321.02°)
OKLaboklab(64.34% 0.1688 -0.1486)
OKLCHoklch(64.34% 0.225 318.6)
XYZxyz(39.5079, 23.2631, 74.3459)
Luminance0.2326 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C452E2 #70E252
analogous
#7C52E2 #C452E2 #E252B8
triadic
#C452E2 #E2C452 #52E2C4
tetradic
#C452E2 #E27C52 #70E252 #52B8E2
square
#C452E2 #E27C52 #70E252 #52B8E2
split-complementary
#C452E2 #B8E252 #52E27C
monochromatic
#831B9F #AF23D3 #C452E2 #D686EB #E8BBF4

Accessibility & contrast

On white

3.72
#C452E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C452E2#FFFFFF#000000##000000
##C452E21.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#237DE6
Deuteranopia (green-blind)
#5A88DE
Tritanopia (blue-blind)
#C46B93
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c452e2;
/* rgb */ color: rgb(196, 82, 226);
/* oklch */ color: oklch(64.3% 0.225 318.6);
Tailwind
colors: {
  custom: {
    50: '#d98aec',
    500: '#c452e2',
    950: '#000000',
  },
}
SCSS
$custom: #c452e2;
$custom-light: #d98aec;
$custom-dark: #000000;
JSON
{
  "hex": "#c452e2",
  "rgb": {
    "r": 196,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 287.5,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.64336,
    "c": 0.22485,
    "h": 318.6
  },
  "luminance": 0.23261
}

Semantic roles & 50–950 ramp

primary
#C452E2
secondary
#B8E3AC
accent
#D3123A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C452E2

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

Preview Lab → · Contrast checker → · Palette generator →

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