#C245E2#C245E2

#C245E2 is a light, highly saturated purple. Relative luminance 0.212; OKLCH L 62.7% C 0.240 H 318.6°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C245E2
RGBrgb(194, 69, 226)
HSLhsl(288, 73%, 58%)
HSVhsv(288, 69%, 89%)
CMYKcmyk(14.2%, 69.5%, 0%, 11.4%)
CIE-LABlab(53.19, 70.45, -56.57)
CIE-LCHlch(53.19, 90.35, 321.23°)
OKLaboklab(62.73% 0.1802 -0.1587)
OKLCHoklch(62.73% 0.24 318.6)
XYZxyz(38.1019, 21.2183, 74.0253)
Luminance0.2122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C245E2 #65E245
analogous
#7445E2 #C245E2 #E245B3
triadic
#C245E2 #E2C245 #45E2C2
tetradic
#C245E2 #E27445 #65E245 #45B3E2
square
#C245E2 #E27445 #65E245 #45B3E2
split-complementary
#C245E2 #B3E245 #45E274
monochromatic
#7C1795 #A720CA #C245E2 #D37AEA #E5AFF3

Accessibility & contrast

On white

4.01
#C245E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#C245E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C245E2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C245E2#FFFFFF#000000##000000
##C245E21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E6
Deuteranopia (green-blind)
#4E83DE
Tritanopia (blue-blind)
#C2638F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #c245e2;
/* rgb */ color: rgb(194, 69, 226);
/* oklch */ color: oklch(62.7% 0.240 318.6);
Tailwind
colors: {
  custom: {
    50: '#d883ec',
    500: '#c245e2',
    950: '#000000',
  },
}
SCSS
$custom: #c245e2;
$custom-light: #d883ec;
$custom-dark: #000000;
JSON
{
  "hex": "#c245e2",
  "rgb": {
    "r": 194,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 287.771,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.62731,
    "c": 0.24012,
    "h": 318.6
  },
  "luminance": 0.21217
}

Semantic roles & 50–950 ramp

primary
#C245E2
secondary
#AFE1A2
accent
#F0385E
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150C16
muted
#837D84

Preview Lab

Preview with #C245E2

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

Preview Lab → · Contrast checker → · Palette generator →

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