#C125BD#C125BD

#C125BD is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.9% C 0.242 H 329.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C125BD
RGBrgb(193, 37, 189)
HSLhsl(302, 68%, 45%)
HSVhsv(302, 81%, 76%)
CMYKcmyk(0%, 80.8%, 2.1%, 24.3%)
CIE-LABlab(47.41, 73.92, -44.56)
CIE-LCHlch(47.41, 86.31, 328.91°)
OKLaboklab(57.9% 0.2083 -0.1234)
OKLCHoklch(57.9% 0.242 329.3)
XYZxyz(31.8390, 16.3372, 49.6107)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C125BD #25C129
analogous
#7725C1 #C125BD #C1256F
triadic
#C125BD #BDC125 #25BDC1
tetradic
#C125BD #C17725 #25C129 #256FC1
square
#C125BD #C17725 #25C129 #256FC1
split-complementary
#C125BD #6FC125 #25C177
monochromatic
#5A1158 #8E1B8B #C125BD #DC47D8 #E67BE3

Accessibility & contrast

On white

4.92
#C125BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C125BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C125BD
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C125BD#FFFFFF#000000##FFFFFF
##C125BD1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#5777B9
Tritanopia (blue-blind)
#C84073
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c125bd;
/* rgb */ color: rgb(193, 37, 189);
/* oklch */ color: oklch(57.9% 0.242 329.3);
Tailwind
colors: {
  custom: {
    50: '#d874d1',
    500: '#c125bd',
    950: '#000000',
  },
}
SCSS
$custom: #c125bd;
$custom-light: #d874d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c125bd",
  "rgb": {
    "r": 193,
    "g": 37,
    "b": 189
  },
  "hsl": {
    "h": 301.538,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57899,
    "c": 0.24212,
    "h": 329.3
  },
  "luminance": 0.16335
}

Semantic roles & 50–950 ramp

primary
#C125BD
secondary
#74CE77
accent
#EB423D
background
#FDF7FC
surface
#FBEEF9
border
#D4C9D2
text
#150A14
muted
#837C82

Preview Lab

Preview with #C125BD

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

Preview Lab → · Contrast checker → · Palette generator →

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