#C452B2#C452B2

#C452B2 is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.8% C 0.184 H 334.1°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#C452B2
RGBrgb(196, 82, 178)
HSLhsl(309, 49%, 55%)
HSVhsv(309, 58%, 77%)
CMYKcmyk(0%, 58.2%, 9.2%, 23.1%)
CIE-LABlab(52.94, 57.17, -29.43)
CIE-LCHlch(52.94, 64.30, 332.76°)
OKLaboklab(61.8% 0.1652 -0.0801)
OKLCHoklch(61.8% 0.184 334.1)
XYZxyz(33.8183, 20.9872, 44.3806)
Luminance0.2099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C452B2 #52C464
analogous
#9D52C4 #C452B2 #C45279
triadic
#C452B2 #B2C452 #52B2C4
tetradic
#C452B2 #C49D52 #52C464 #5279C4
square
#C452B2 #C49D52 #52C464 #5279C4
split-complementary
#C452B2 #79C452 #52C49D
monochromatic
#742868 #A23791 #C452B2 #D480C6 #E3ADDB

Accessibility & contrast

On white

4.04
#C452B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#C452B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C452B2
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C452B2#FFFFFF#000000##000000
##C452B21.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5174B5
Deuteranopia (green-blind)
#7484AF
Tritanopia (blue-blind)
#CC597A
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c452b2;
/* rgb */ color: rgb(196, 82, 178);
/* oklch */ color: oklch(61.8% 0.184 334.1);
Tailwind
colors: {
  custom: {
    50: '#d989c9',
    500: '#c452b2',
    950: '#000000',
  },
}
SCSS
$custom: #c452b2;
$custom-light: #d989c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c452b2",
  "rgb": {
    "r": 196,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 309.474,
    "s": 49.138,
    "l": 54.51
  },
  "oklch": {
    "l": 0.61803,
    "c": 0.18363,
    "h": 334.1
  },
  "luminance": 0.20985
}

Semantic roles & 50–950 ramp

primary
#C452B2
secondary
#A1D1A8
accent
#D9654F
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C452B2

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

Preview Lab → · Contrast checker → · Palette generator →

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