#C124B5#C124B5

#C124B5 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.4% C 0.237 H 331.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C124B5
RGBrgb(193, 36, 181)
HSLhsl(305, 69%, 45%)
HSVhsv(305, 81%, 76%)
CMYKcmyk(0%, 81.3%, 6.2%, 24.3%)
CIE-LABlab(46.89, 72.95, -40.71)
CIE-LCHlch(46.89, 83.54, 330.84°)
OKLaboklab(57.39% 0.2091 -0.1122)
OKLCHoklch(57.39% 0.237 331.8)
XYZxyz(30.9638, 15.9381, 45.1527)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C124B5 #24C130
analogous
#7F24C1 #C124B5 #C12467
triadic
#C124B5 #B5C124 #24B5C1
tetradic
#C124B5 #C17F24 #24C130 #2467C1
square
#C124B5 #C17F24 #24C130 #2467C1
split-complementary
#C124B5 #67C124 #24C17F
monochromatic
#5A1154 #8D1A85 #C124B5 #DC46D1 #E679DE

Accessibility & contrast

On white

5.02
#C124B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#C124B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C124B5
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C124B5#FFFFFF#000000##FFFFFF
##C124B51.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1061B9
Deuteranopia (green-blind)
#5B77B1
Tritanopia (blue-blind)
#C93A6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c124b5;
/* rgb */ color: rgb(193, 36, 181);
/* oklch */ color: oklch(57.4% 0.237 331.8);
Tailwind
colors: {
  custom: {
    50: '#d874cc',
    500: '#c124b5',
    950: '#000000',
  },
}
SCSS
$custom: #c124b5;
$custom-light: #d874cc;
$custom-dark: #000000;
JSON
{
  "hex": "#c124b5",
  "rgb": {
    "r": 193,
    "g": 36,
    "b": 181
  },
  "hsl": {
    "h": 304.586,
    "s": 68.559,
    "l": 44.902
  },
  "oklch": {
    "l": 0.57387,
    "c": 0.23733,
    "h": 331.8
  },
  "luminance": 0.15935
}

Semantic roles & 50–950 ramp

primary
#C124B5
secondary
#73CE7A
accent
#EB4A3C
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #C124B5

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

Preview Lab → · Contrast checker → · Palette generator →

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