#C125C1#C125C1

#C125C1 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 58.1% C 0.245 H 328.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C125C1
RGBrgb(193, 37, 193)
HSLhsl(300, 68%, 45%)
HSVhsv(300, 81%, 76%)
CMYKcmyk(0%, 80.8%, 0%, 24.3%)
CIE-LABlab(47.64, 74.53, -46.53)
CIE-LCHlch(47.64, 87.86, 328.02°)
OKLaboklab(58.13% 0.2081 -0.1292)
OKLCHoklch(58.13% 0.245 328.2)
XYZxyz(32.2792, 16.5133, 51.9290)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C125C1 #25C125
analogous
#7325C1 #C125C1 #C12573
triadic
#C125C1 #C1C125 #25C1C1
tetradic
#C125C1 #C17325 #25C125 #2573C1
square
#C125C1 #C17325 #25C125 #2573C1
split-complementary
#C125C1 #73C125 #25C173
monochromatic
#5A115A #8E1B8E #C125C1 #DC47DC #E67BE6

Accessibility & contrast

On white

4.88
#C125C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C125C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C125C1
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C125C1#FFFFFF#000000##FFFFFF
##C125C11.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#5578BD
Tritanopia (blue-blind)
#C74275
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c125c1;
/* rgb */ color: rgb(193, 37, 193);
/* oklch */ color: oklch(58.1% 0.245 328.2);
Tailwind
colors: {
  custom: {
    50: '#d875d4',
    500: '#c125c1',
    950: '#000000',
  },
}
SCSS
$custom: #c125c1;
$custom-light: #d875d4;
$custom-dark: #000000;
JSON
{
  "hex": "#c125c1",
  "rgb": {
    "r": 193,
    "g": 37,
    "b": 193
  },
  "hsl": {
    "h": 300,
    "s": 67.826,
    "l": 45.098
  },
  "oklch": {
    "l": 0.58133,
    "c": 0.24495,
    "h": 328.2
  },
  "luminance": 0.16511
}

Semantic roles & 50–950 ramp

primary
#C125C1
secondary
#74CE74
accent
#EB3D3D
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C125C1

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

Preview Lab → · Contrast checker → · Palette generator →

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