#C125BF#C125BF

#C125BF is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 58.0% C 0.244 H 328.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C125BF
RGBrgb(193, 37, 191)
HSLhsl(301, 68%, 45%)
HSVhsv(301, 81%, 76%)
CMYKcmyk(0%, 80.8%, 1%, 24.3%)
CIE-LABlab(47.53, 74.22, -45.55)
CIE-LCHlch(47.53, 87.08, 328.46°)
OKLaboklab(58.02% 0.2082 -0.1263)
OKLCHoklch(58.02% 0.244 328.8)
XYZxyz(32.0576, 16.4247, 50.7620)
Luminance0.1642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C125BF #25C127
analogous
#7525C1 #C125BF #C12571
triadic
#C125BF #BFC125 #25BFC1
tetradic
#C125BF #C17525 #25C127 #2571C1
square
#C125BF #C17525 #25C127 #2571C1
split-complementary
#C125BF #71C125 #25C175
monochromatic
#5A1159 #8E1B8C #C125BF #DC47DA #E67BE4

Accessibility & contrast

On white

4.90
#C125BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C125BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C125BF
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C125BF#FFFFFF#000000##FFFFFF
##C125BF1.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#5678BB
Tritanopia (blue-blind)
#C84174
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c125bf;
/* rgb */ color: rgb(193, 37, 191);
/* oklch */ color: oklch(58.0% 0.244 328.8);
Tailwind
colors: {
  custom: {
    50: '#d874d3',
    500: '#c125bf',
    950: '#000000',
  },
}
SCSS
$custom: #c125bf;
$custom-light: #d874d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c125bf",
  "rgb": {
    "r": 193,
    "g": 37,
    "b": 191
  },
  "hsl": {
    "h": 300.769,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.58015,
    "c": 0.24354,
    "h": 328.8
  },
  "luminance": 0.16422
}

Semantic roles & 50–950 ramp

primary
#C125BF
secondary
#74CE75
accent
#EB3F3D
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C125BF

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

Preview Lab → · Contrast checker → · Palette generator →

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