#C024C1#C024C1

#C024C1 is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.9% C 0.245 H 327.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C024C1
RGBrgb(192, 36, 193)
HSLhsl(300, 69%, 45%)
HSVhsv(300, 81%, 76%)
CMYKcmyk(0.5%, 81.3%, 0%, 24.3%)
CIE-LABlab(47.39, 74.57, -46.94)
CIE-LCHlch(47.39, 88.11, 327.81°)
OKLaboklab(57.93% 0.2078 -0.1304)
OKLCHoklch(57.93% 0.245 327.9)
XYZxyz(31.9943, 16.3209, 51.9069)
Luminance0.1632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C024C1 #25C124
analogous
#7224C1 #C024C1 #C12473
triadic
#C024C1 #C1C024 #24C1C0
tetradic
#C024C1 #C17224 #25C124 #2473C1
square
#C024C1 #C17224 #25C124 #2473C1
split-complementary
#C024C1 #73C124 #24C172
monochromatic
#59115A #8D1A8D #C024C1 #DB46DC #E579E6

Accessibility & contrast

On white

4.93
#C024C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C024C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C024C1
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C024C1#FFFFFF#000000##FFFFFF
##C024C11.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#5377BD
Tritanopia (blue-blind)
#C64275
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c024c1;
/* rgb */ color: rgb(192, 36, 193);
/* oklch */ color: oklch(57.9% 0.245 327.9);
Tailwind
colors: {
  custom: {
    50: '#d774d4',
    500: '#c024c1',
    950: '#000000',
  },
}
SCSS
$custom: #c024c1;
$custom-light: #d774d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c024c1",
  "rgb": {
    "r": 192,
    "g": 36,
    "b": 193
  },
  "hsl": {
    "h": 299.618,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57925,
    "c": 0.24528,
    "h": 327.9
  },
  "luminance": 0.16318
}

Semantic roles & 50–950 ramp

primary
#C024C1
secondary
#74CE73
accent
#EB3C3E
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C024C1

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

Preview Lab → · Contrast checker → · Palette generator →

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