#C125B9#C125B9

#C125B9 is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.7% C 0.239 H 330.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C125B9
RGBrgb(193, 37, 185)
HSLhsl(303, 68%, 45%)
HSVhsv(303, 81%, 76%)
CMYKcmyk(0%, 80.8%, 4.1%, 24.3%)
CIE-LABlab(47.19, 73.31, -42.58)
CIE-LCHlch(47.19, 84.78, 329.85°)
OKLaboklab(57.67% 0.2084 -0.1177)
OKLCHoklch(57.67% 0.239 330.5)
XYZxyz(31.4108, 16.1660, 47.3555)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C125B9 #25C12D
analogous
#7B25C1 #C125B9 #C1256B
triadic
#C125B9 #B9C125 #25B9C1
tetradic
#C125B9 #C17B25 #25C12D #256BC1
square
#C125B9 #C17B25 #25C12D #256BC1
split-complementary
#C125B9 #6BC125 #25C17B
monochromatic
#5A1157 #8E1B88 #C125B9 #DC47D4 #E67BE0

Accessibility & contrast

On white

4.96
#C125B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C125B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C125B9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C125B9#FFFFFF#000000##FFFFFF
##C125B91.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0463BD
Deuteranopia (green-blind)
#5A77B5
Tritanopia (blue-blind)
#C93D70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c125b9;
/* rgb */ color: rgb(193, 37, 185);
/* oklch */ color: oklch(57.7% 0.239 330.5);
Tailwind
colors: {
  custom: {
    50: '#d874ce',
    500: '#c125b9',
    950: '#000000',
  },
}
SCSS
$custom: #c125b9;
$custom-light: #d874ce;
$custom-dark: #000000;
JSON
{
  "hex": "#c125b9",
  "rgb": {
    "r": 193,
    "g": 37,
    "b": 185
  },
  "hsl": {
    "h": 303.077,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57669,
    "c": 0.23933,
    "h": 330.5
  },
  "luminance": 0.16163
}

Semantic roles & 50–950 ramp

primary
#C125B9
secondary
#74CE79
accent
#EB463D
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C125B9

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

Preview Lab → · Contrast checker → · Palette generator →

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