#C245C2#C245C2

#C245C2 is a mid, highly saturated purple. Relative luminance 0.196; OKLCH L 60.9% C 0.213 H 327.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C245C2
RGBrgb(194, 69, 194)
HSLhsl(300, 51%, 52%)
HSVhsv(300, 64%, 76%)
CMYKcmyk(0%, 64.4%, 0%, 23.9%)
CIE-LABlab(51.41, 64.78, -41.12)
CIE-LCHlch(51.41, 76.73, 327.59°)
OKLaboklab(60.88% 0.1805 -0.1136)
OKLCHoklch(60.88% 0.213 327.8)
XYZxyz(34.1134, 19.6229, 53.0193)
Luminance0.1962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C245C2 #45C245
analogous
#8445C2 #C245C2 #C24584
triadic
#C245C2 #C2C245 #45C2C2
tetradic
#C245C2 #C28445 #45C245 #4584C2
square
#C245C2 #C28445 #45C245 #4584C2
split-complementary
#C245C2 #84C245 #45C284
monochromatic
#6A236A #983298 #C245C2 #D173D1 #E0A1E0

Accessibility & contrast

On white

4.26
#C245C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#C245C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C245C2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C245C2#FFFFFF#000000##000000
##C245C21.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3470C6
Deuteranopia (green-blind)
#6480BF
Tritanopia (blue-blind)
#C8567E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c245c2;
/* rgb */ color: rgb(194, 69, 194);
/* oklch */ color: oklch(60.9% 0.213 327.8);
Tailwind
colors: {
  custom: {
    50: '#d882d5',
    500: '#c245c2',
    950: '#000000',
  },
}
SCSS
$custom: #c245c2;
$custom-light: #d882d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c245c2",
  "rgb": {
    "r": 194,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.60879,
    "c": 0.21332,
    "h": 327.8
  },
  "luminance": 0.19621
}

Semantic roles & 50–950 ramp

primary
#C245C2
secondary
#96CD96
accent
#DA4E4E
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C245C2

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

Preview Lab → · Contrast checker → · Palette generator →

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