#C125BC#C125BC

#C125BC is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.8% C 0.241 H 329.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C125BC
RGBrgb(193, 37, 188)
HSLhsl(302, 68%, 45%)
HSVhsv(302, 81%, 76%)
CMYKcmyk(0%, 80.8%, 2.6%, 24.3%)
CIE-LABlab(47.36, 73.76, -44.07)
CIE-LCHlch(47.36, 85.93, 329.14°)
OKLaboklab(57.84% 0.2083 -0.122)
OKLCHoklch(57.84% 0.241 329.6)
XYZxyz(31.7308, 16.2940, 49.0410)
Luminance0.1629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C125BC #25C12A
analogous
#7825C1 #C125BC #C1256E
triadic
#C125BC #BCC125 #25BCC1
tetradic
#C125BC #C17825 #25C12A #256EC1
square
#C125BC #C17825 #25C12A #256EC1
split-complementary
#C125BC #6EC125 #25C178
monochromatic
#5A1158 #8E1B8A #C125BC #DC47D7 #E67BE2

Accessibility & contrast

On white

4.93
#C125BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C125BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C125BC
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C125BC#FFFFFF#000000##FFFFFF
##C125BC1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#5877B8
Tritanopia (blue-blind)
#C83F72
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c125bc;
/* rgb */ color: rgb(193, 37, 188);
/* oklch */ color: oklch(57.8% 0.241 329.6);
Tailwind
colors: {
  custom: {
    50: '#d874d1',
    500: '#c125bc',
    950: '#000000',
  },
}
SCSS
$custom: #c125bc;
$custom-light: #d874d1;
$custom-dark: #000000;
JSON
{
  "hex": "#c125bc",
  "rgb": {
    "r": 193,
    "g": 37,
    "b": 188
  },
  "hsl": {
    "h": 301.923,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57841,
    "c": 0.24142,
    "h": 329.6
  },
  "luminance": 0.16291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C125BC

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

Preview Lab → · Contrast checker → · Palette generator →

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