#C124C1#C124C1

#C124C1 is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 58.1% C 0.246 H 328.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C124C1
RGBrgb(193, 36, 193)
HSLhsl(300, 69%, 45%)
HSVhsv(300, 81%, 76%)
CMYKcmyk(0%, 81.3%, 0%, 24.3%)
CIE-LABlab(47.56, 74.76, -46.66)
CIE-LCHlch(47.56, 88.13, 328.03°)
OKLaboklab(58.08% 0.2088 -0.1295)
OKLCHoklch(58.08% 0.246 328.2)
XYZxyz(32.2485, 16.4519, 51.9188)
Luminance0.1645 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C124C1 #24C124
analogous
#7324C1 #C124C1 #C12473
triadic
#C124C1 #C1C124 #24C1C1
tetradic
#C124C1 #C17324 #24C124 #2473C1
square
#C124C1 #C17324 #24C124 #2473C1
split-complementary
#C124C1 #73C124 #24C173
monochromatic
#5A115A #8D1A8D #C124C1 #DC46DC #E679E6

Accessibility & contrast

On white

4.90
#C124C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C124C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C124C1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C124C1#FFFFFF#000000##FFFFFF
##C124C11.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#5478BD
Tritanopia (blue-blind)
#C74175
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c124c1;
/* rgb */ color: rgb(193, 36, 193);
/* oklch */ color: oklch(58.1% 0.246 328.2);
Tailwind
colors: {
  custom: {
    50: '#d874d4',
    500: '#c124c1',
    950: '#000000',
  },
}
SCSS
$custom: #c124c1;
$custom-light: #d874d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c124c1",
  "rgb": {
    "r": 193,
    "g": 36,
    "b": 193
  },
  "hsl": {
    "h": 300,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.58077,
    "c": 0.24569,
    "h": 328.2
  },
  "luminance": 0.16449
}

Semantic roles & 50–950 ramp

primary
#C124C1
secondary
#73CE73
accent
#EB3C3C
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C124C1

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

Preview Lab → · Contrast checker → · Palette generator →

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