#C125B4#C125B4

#C125B4 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.4% C 0.236 H 332.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C125B4
RGBrgb(193, 37, 180)
HSLhsl(305, 68%, 45%)
HSVhsv(305, 81%, 76%)
CMYKcmyk(0%, 80.8%, 6.7%, 24.3%)
CIE-LABlab(46.92, 72.57, -40.08)
CIE-LCHlch(46.92, 82.90, 331.09°)
OKLaboklab(57.39% 0.2084 -0.1104)
OKLCHoklch(57.39% 0.236 332.1)
XYZxyz(30.8922, 15.9585, 44.6245)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C125B4 #25C132
analogous
#8025C1 #C125B4 #C12566
triadic
#C125B4 #B4C125 #25B4C1
tetradic
#C125B4 #C18025 #25C132 #2566C1
square
#C125B4 #C18025 #25C132 #2566C1
split-complementary
#C125B4 #66C125 #25C180
monochromatic
#5A1154 #8E1B84 #C125B4 #DC47CF #E67BDD

Accessibility & contrast

On white

5.01
#C125B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C125B4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C125B4#FFFFFF#000000##FFFFFF
##C125B41.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1462B8
Deuteranopia (green-blind)
#5C77B0
Tritanopia (blue-blind)
#C93A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c125b4;
/* rgb */ color: rgb(193, 37, 180);
/* oklch */ color: oklch(57.4% 0.236 332.1);
Tailwind
colors: {
  custom: {
    50: '#d874cb',
    500: '#c125b4',
    950: '#000000',
  },
}
SCSS
$custom: #c125b4;
$custom-light: #d874cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c125b4",
  "rgb": {
    "r": 193,
    "g": 37,
    "b": 180
  },
  "hsl": {
    "h": 305,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57388,
    "c": 0.23587,
    "h": 332.1
  },
  "luminance": 0.15956
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C125B4

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

Preview Lab → · Contrast checker → · Palette generator →

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