#C125B3#C125B3

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

Color values

HEX#C125B3
RGBrgb(193, 37, 179)
HSLhsl(305, 68%, 45%)
HSVhsv(305, 81%, 76%)
CMYKcmyk(0%, 80.8%, 7.3%, 24.3%)
CIE-LABlab(46.87, 72.42, -39.57)
CIE-LCHlch(46.87, 82.53, 331.35°)
OKLaboklab(57.33% 0.2084 -0.109)
OKLCHoklch(57.33% 0.235 332.4)
XYZxyz(30.7907, 15.9179, 44.0899)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C125B3 #25C133
analogous
#8125C1 #C125B3 #C12565
triadic
#C125B3 #B3C125 #25B3C1
tetradic
#C125B3 #C18125 #25C133 #2565C1
square
#C125B3 #C18125 #25C133 #2565C1
split-complementary
#C125B3 #65C125 #25C181
monochromatic
#5A1154 #8E1B83 #C125B3 #DC47CE #E67BDC

Accessibility & contrast

On white

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

On black

4.18
#C125B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C125B3#FFFFFF#000000##FFFFFF
##C125B31.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1761B7
Deuteranopia (green-blind)
#5D77AF
Tritanopia (blue-blind)
#CA3A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c125b3;
/* rgb */ color: rgb(193, 37, 179);
/* oklch */ color: oklch(57.3% 0.235 332.4);
Tailwind
colors: {
  custom: {
    50: '#d874ca',
    500: '#c125b3',
    950: '#000000',
  },
}
SCSS
$custom: #c125b3;
$custom-light: #d874ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c125b3",
  "rgb": {
    "r": 193,
    "g": 37,
    "b": 179
  },
  "hsl": {
    "h": 305.385,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57333,
    "c": 0.23518,
    "h": 332.4
  },
  "luminance": 0.15915
}

Semantic roles & 50–950 ramp

primary
#C125B3
secondary
#74CE7C
accent
#EB4D3D
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C125B3

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

Preview Lab → · Contrast checker → · Palette generator →

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