#C452E8#C452E8

#C452E8 is a light, highly saturated purple. Relative luminance 0.236; OKLCH L 64.7% C 0.230 H 317.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#C452E8
RGBrgb(196, 82, 232)
HSLhsl(286, 77%, 62%)
HSVhsv(286, 65%, 91%)
CMYKcmyk(15.5%, 64.7%, 0%, 9%)
CIE-LABlab(55.68, 66.79, -55.94)
CIE-LCHlch(55.68, 87.12, 320.05°)
OKLaboklab(64.69% 0.1687 -0.1568)
OKLCHoklch(64.69% 0.23 317.1)
XYZxyz(40.3456, 23.5981, 78.7580)
Luminance0.2360 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C452E8 #76E852
analogous
#7952E8 #C452E8 #E852C1
triadic
#C452E8 #E8C452 #52E8C4
tetradic
#C452E8 #E87952 #76E852 #52C1E8
square
#C452E8 #E87952 #76E852 #52C1E8
split-complementary
#C452E8 #C1E852 #52E879
monochromatic
#8616A9 #B11EDF #C452E8 #D688EF #E9BEF6

Accessibility & contrast

On white

3.67
#C452E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.72
#C452E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C452E8
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C452E8#FFFFFF#000000##000000
##C452E81.003.675.725.72
#FFFFFF3.671.0021.0021.00
#0000005.7221.001.001.00
##0000005.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#157EEC
Deuteranopia (green-blind)
#5589E4
Tritanopia (blue-blind)
#C26D96
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #c452e8;
/* rgb */ color: rgb(196, 82, 232);
/* oklch */ color: oklch(64.7% 0.230 317.1);
Tailwind
colors: {
  custom: {
    50: '#da8af0',
    500: '#c452e8',
    950: '#000000',
  },
}
SCSS
$custom: #c452e8;
$custom-light: #da8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#c452e8",
  "rgb": {
    "r": 196,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 285.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.64692,
    "c": 0.23031,
    "h": 317.1
  },
  "luminance": 0.23597
}

Semantic roles & 50–950 ramp

primary
#C452E8
secondary
#BCE7AF
accent
#D90D3E
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C17
muted
#837D85

Preview Lab

Preview with #C452E8

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

Preview Lab → · Contrast checker → · Palette generator →

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