#C245CC#C245CC

#C245CC is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.4% C 0.222 H 324.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C245CC
RGBrgb(194, 69, 204)
HSLhsl(296, 57%, 54%)
HSVhsv(296, 66%, 80%)
CMYKcmyk(4.9%, 66.2%, 0%, 20%)
CIE-LABlab(51.94, 66.49, -46.05)
CIE-LCHlch(51.94, 80.88, 325.30°)
OKLaboklab(61.43% 0.1808 -0.1279)
OKLCHoklch(61.43% 0.222 324.7)
XYZxyz(35.2745, 20.0873, 59.1343)
Luminance0.2009 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C245CC #4FCC45
analogous
#7E45CC #C245CC #CC4592
triadic
#C245CC #CCC245 #45CCC2
tetradic
#C245CC #CC7E45 #4FCC45 #4592CC
square
#C245CC #CC7E45 #4FCC45 #4592CC
split-complementary
#C245CC #92CC45 #45CC7E
monochromatic
#702076 #9D2EA6 #C245CC #D275D9 #E2A5E6

Accessibility & contrast

On white

4.19
#C245CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#C245CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C245CC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C245CC#FFFFFF#000000##000000
##C245CC1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2872D0
Deuteranopia (green-blind)
#5E81C9
Tritanopia (blue-blind)
#C65A83
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c245cc;
/* rgb */ color: rgb(194, 69, 204);
/* oklch */ color: oklch(61.4% 0.222 324.7);
Tailwind
colors: {
  custom: {
    50: '#d882dc',
    500: '#c245cc',
    950: '#000000',
  },
}
SCSS
$custom: #c245cc;
$custom-light: #d882dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c245cc",
  "rgb": {
    "r": 194,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 295.556,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.6143,
    "c": 0.22151,
    "h": 324.7
  },
  "luminance": 0.20085
}

Semantic roles & 50–950 ramp

primary
#C245CC
secondary
#9ED399
accent
#E04853
background
#FDF8FD
surface
#FBF0FB
border
#D4CBD4
text
#150B15
muted
#837C83

Preview Lab

Preview with #C245CC

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

Preview Lab → · Contrast checker → · Palette generator →

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