#C452E1#C452E1

#C452E1 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.3% C 0.224 H 318.9°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#C452E1
RGBrgb(196, 82, 225)
HSLhsl(288, 70%, 60%)
HSVhsv(288, 64%, 88%)
CMYKcmyk(12.9%, 63.6%, 0%, 11.8%)
CIE-LABlab(55.29, 65.45, -52.64)
CIE-LCHlch(55.29, 83.99, 321.19°)
OKLaboklab(64.28% 0.1688 -0.1472)
OKLCHoklch(64.28% 0.224 318.9)
XYZxyz(39.3711, 23.2083, 73.6254)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C452E1 #6FE152
analogous
#7C52E1 #C452E1 #E152B7
triadic
#C452E1 #E1C452 #52E1C4
tetradic
#C452E1 #E17C52 #6FE152 #52B7E1
square
#C452E1 #E17C52 #6FE152 #52B7E1
split-complementary
#C452E1 #B7E152 #52E17C
monochromatic
#831B9D #AE24D1 #C452E1 #D686EA #E8BAF3

Accessibility & contrast

On white

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

On black

5.64
#C452E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C452E1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C452E1#FFFFFF#000000##000000
##C452E11.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#257DE5
Deuteranopia (green-blind)
#5B88DD
Tritanopia (blue-blind)
#C46B93
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #c452e1;
/* rgb */ color: rgb(196, 82, 225);
/* oklch */ color: oklch(64.3% 0.224 318.9);
Tailwind
colors: {
  custom: {
    50: '#d98aeb',
    500: '#c452e1',
    950: '#000000',
  },
}
SCSS
$custom: #c452e1;
$custom-light: #d98aeb;
$custom-dark: #000000;
JSON
{
  "hex": "#c452e1",
  "rgb": {
    "r": 196,
    "g": 82,
    "b": 225
  },
  "hsl": {
    "h": 287.832,
    "s": 70.443,
    "l": 60.196
  },
  "oklch": {
    "l": 0.64278,
    "c": 0.22394,
    "h": 318.9
  },
  "luminance": 0.23207
}

Semantic roles & 50–950 ramp

primary
#C452E1
secondary
#B7E3AC
accent
#D2133A
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C452E1

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

Preview Lab → · Contrast checker → · Palette generator →

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