#C24EC2#C24EC2

#C24EC2 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.201 H 327.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C24EC2
RGBrgb(194, 78, 194)
HSLhsl(300, 49%, 53%)
HSVhsv(300, 60%, 76%)
CMYKcmyk(0%, 59.8%, 0%, 23.9%)
CIE-LABlab(52.75, 61.07, -39.01)
CIE-LCHlch(52.75, 72.46, 327.43°)
OKLaboklab(61.85% 0.17 -0.1076)
OKLCHoklch(61.85% 0.201 327.7)
XYZxyz(34.7096, 20.8154, 53.2181)
Luminance0.2081 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C24EC2 #4EC24E
analogous
#884EC2 #C24EC2 #C24E88
triadic
#C24EC2 #C2C24E #4EC2C2
tetradic
#C24EC2 #C2884E #4EC24E #4E88C2
square
#C24EC2 #C2884E #4EC24E #4E88C2
split-complementary
#C24EC2 #88C24E #4EC288
monochromatic
#6F266F #9D369D #C24EC2 #D27CD2 #E1A9E1

Accessibility & contrast

On white

4.07
#C24EC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#C24EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C24EC2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C24EC2#FFFFFF#000000##000000
##C24EC21.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4074C6
Deuteranopia (green-blind)
#6983BF
Tritanopia (blue-blind)
#C85D81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #c24ec2;
/* rgb */ color: rgb(194, 78, 194);
/* oklch */ color: oklch(61.9% 0.201 327.7);
Tailwind
colors: {
  custom: {
    50: '#d787d5',
    500: '#c24ec2',
    950: '#000000',
  },
}
SCSS
$custom: #c24ec2;
$custom-light: #d787d5;
$custom-dark: #000000;
JSON
{
  "hex": "#c24ec2",
  "rgb": {
    "r": 194,
    "g": 78,
    "b": 194
  },
  "hsl": {
    "h": 300,
    "s": 48.739,
    "l": 53.333
  },
  "oklch": {
    "l": 0.6185,
    "c": 0.20124,
    "h": 327.7
  },
  "luminance": 0.20813
}

Semantic roles & 50–950 ramp

primary
#C24EC2
secondary
#9DCF9D
accent
#D85050
background
#FDF8FD
surface
#FBF0FA
border
#D4CBD3
text
#150C14
muted
#837D83

Preview Lab

Preview with #C24EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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