#C245C7#C245C7

#C245C7 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.2% C 0.217 H 326.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C245C7
RGBrgb(194, 69, 199)
HSLhsl(298, 54%, 53%)
HSVhsv(298, 65%, 78%)
CMYKcmyk(2.5%, 65.3%, 0%, 22%)
CIE-LABlab(51.67, 65.63, -43.60)
CIE-LCHlch(51.67, 78.79, 326.40°)
OKLaboklab(61.15% 0.1807 -0.1208)
OKLCHoklch(61.15% 0.217 326.2)
XYZxyz(34.6844, 19.8513, 56.0266)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C245C7 #4AC745
analogous
#8145C7 #C245C7 #C7458B
triadic
#C245C7 #C7C245 #45C7C2
tetradic
#C245C7 #C78145 #4AC745 #458BC7
square
#C245C7 #C78145 #4AC745 #458BC7
split-complementary
#C245C7 #8BC745 #45C781
monochromatic
#6D2270 #9B309F #C245C7 #D174D5 #E1A3E3

Accessibility & contrast

On white

4.23
#C245C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#C245C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C245C7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C245C7#FFFFFF#000000##000000
##C245C71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CB
Deuteranopia (green-blind)
#6181C4
Tritanopia (blue-blind)
#C75880
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c245c7;
/* rgb */ color: rgb(194, 69, 199);
/* oklch */ color: oklch(61.2% 0.217 326.2);
Tailwind
colors: {
  custom: {
    50: '#d882d8',
    500: '#c245c7',
    950: '#000000',
  },
}
SCSS
$custom: #c245c7;
$custom-light: #d882d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c245c7",
  "rgb": {
    "r": 194,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 297.692,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61151,
    "c": 0.2174,
    "h": 326.2
  },
  "luminance": 0.19849
}

Semantic roles & 50–950 ramp

primary
#C245C7
secondary
#9AD098
accent
#DD4B50
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150B14
muted
#837C83

Preview Lab

Preview with #C245C7

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

Preview Lab → · Contrast checker → · Palette generator →

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