#C452EC#C452EC

#C452EC is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 64.9% C 0.234 H 316.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#C452EC
RGBrgb(196, 82, 236)
HSLhsl(284, 80%, 62%)
HSVhsv(284, 65%, 93%)
CMYKcmyk(16.9%, 65.3%, 0%, 7.5%)
CIE-LABlab(55.92, 67.57, -57.81)
CIE-LCHlch(55.92, 88.92, 319.45°)
OKLaboklab(64.93% 0.1685 -0.1623)
OKLCHoklch(64.93% 0.234 316.1)
XYZxyz(40.9202, 23.8280, 81.7844)
Luminance0.2383 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C452EC #7AEC52
analogous
#7752EC #C452EC #EC52C7
triadic
#C452EC #ECC452 #52ECC4
tetradic
#C452EC #EC7752 #7AEC52 #52C7EC
square
#C452EC #EC7752 #7AEC52 #52C7EC
split-complementary
#C452EC #C7EC52 #52EC77
monochromatic
#8713B0 #B11BE6 #C452EC #D789F2 #EAC0F8

Accessibility & contrast

On white

3.64
#C452EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#C452EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C452EC
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C452EC#FFFFFF#000000##000000
##C452EC1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#037FF1
Deuteranopia (green-blind)
#5289E8
Tritanopia (blue-blind)
#C26F98
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #c452ec;
/* rgb */ color: rgb(196, 82, 236);
/* oklch */ color: oklch(64.9% 0.234 316.1);
Tailwind
colors: {
  custom: {
    50: '#da8af3',
    500: '#c452ec',
    950: '#000000',
  },
}
SCSS
$custom: #c452ec;
$custom-light: #da8af3;
$custom-dark: #000000;
JSON
{
  "hex": "#c452ec",
  "rgb": {
    "r": 196,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 284.416,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.64933,
    "c": 0.23398,
    "h": 316.1
  },
  "luminance": 0.23826
}

Semantic roles & 50–950 ramp

primary
#C452EC
secondary
#BFE9B1
accent
#DD0940
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C452EC

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

Preview Lab → · Contrast checker → · Palette generator →

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