#C452D7#C452D7

#C452D7 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 63.7% C 0.215 H 321.7°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#C452D7
RGBrgb(196, 82, 215)
HSLhsl(291, 62%, 58%)
HSVhsv(291, 62%, 84%)
CMYKcmyk(8.8%, 61.9%, 0%, 15.7%)
CIE-LABlab(54.74, 63.58, -47.85)
CIE-LCHlch(54.74, 79.57, 323.04°)
OKLaboklab(63.71% 0.1687 -0.1332)
OKLCHoklch(63.71% 0.215 321.7)
XYZxyz(38.0466, 22.6786, 66.6501)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C452D7 #65D752
analogous
#8252D7 #C452D7 #D752A7
triadic
#C452D7 #D7C452 #52D7C4
tetradic
#C452D7 #D78252 #65D752 #52A7D7
square
#C452D7 #D78252 #65D752 #52A7D7
split-complementary
#C452D7 #A7D752 #52D782
monochromatic
#7E218E #AA2CC0 #C452D7 #D584E2 #E6B5EE

Accessibility & contrast

On white

3.79
#C452D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#C452D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C452D7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C452D7#FFFFFF#000000##000000
##C452D71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#337BDB
Deuteranopia (green-blind)
#6187D4
Tritanopia (blue-blind)
#C6678D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #c452d7;
/* rgb */ color: rgb(196, 82, 215);
/* oklch */ color: oklch(63.7% 0.215 321.7);
Tailwind
colors: {
  custom: {
    50: '#d98ae4',
    500: '#c452d7',
    950: '#000000',
  },
}
SCSS
$custom: #c452d7;
$custom-light: #d98ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#c452d7",
  "rgb": {
    "r": 196,
    "g": 82,
    "b": 215
  },
  "hsl": {
    "h": 291.429,
    "s": 62.441,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63706,
    "c": 0.21494,
    "h": 321.7
  },
  "luminance": 0.22677
}

Semantic roles & 50–950 ramp

primary
#C452D7
secondary
#AFDDA8
accent
#E6425A
background
#FDF8FE
surface
#FBF0FC
border
#D4CBD5
text
#150C15
muted
#837D84

Preview Lab

Preview with #C452D7

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

Preview Lab → · Contrast checker → · Palette generator →

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