#C125B1#C125B1

#C125B1 is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.2% C 0.234 H 333.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C125B1
RGBrgb(193, 37, 177)
HSLhsl(306, 68%, 45%)
HSVhsv(306, 81%, 76%)
CMYKcmyk(0%, 80.8%, 8.3%, 24.3%)
CIE-LABlab(46.76, 72.13, -38.56)
CIE-LCHlch(46.76, 81.79, 331.87°)
OKLaboklab(57.22% 0.2084 -0.106)
OKLCHoklch(57.22% 0.234 333)
XYZxyz(30.5899, 15.8376, 43.0323)
Luminance0.1583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C125B1 #25C135
analogous
#8325C1 #C125B1 #C12563
triadic
#C125B1 #B1C125 #25B1C1
tetradic
#C125B1 #C18325 #25C135 #2563C1
square
#C125B1 #C18325 #25C135 #2563C1
split-complementary
#C125B1 #63C125 #25C183
monochromatic
#5A1153 #8E1B82 #C125B1 #DC47CD #E67BDB

Accessibility & contrast

On white

5.04
#C125B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#C125B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C125B1
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C125B1#FFFFFF#000000##FFFFFF
##C125B11.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A61B5
Deuteranopia (green-blind)
#5E76AD
Tritanopia (blue-blind)
#CA396C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c125b1;
/* rgb */ color: rgb(193, 37, 177);
/* oklch */ color: oklch(57.2% 0.234 333.0);
Tailwind
colors: {
  custom: {
    50: '#d874c9',
    500: '#c125b1',
    950: '#000000',
  },
}
SCSS
$custom: #c125b1;
$custom-light: #d874c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c125b1",
  "rgb": {
    "r": 193,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 306.154,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.57223,
    "c": 0.23383,
    "h": 333
  },
  "luminance": 0.15835
}

Semantic roles & 50–950 ramp

primary
#C125B1
secondary
#74CE7D
accent
#EB4F3D
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C125B1

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

Preview Lab → · Contrast checker → · Palette generator →

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