#C126BF#C126BF

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

Color values

HEX#C126BF
RGBrgb(193, 38, 191)
HSLhsl(301, 67%, 45%)
HSVhsv(301, 80%, 76%)
CMYKcmyk(0%, 80.3%, 1%, 24.3%)
CIE-LABlab(47.61, 73.99, -45.42)
CIE-LCHlch(47.61, 86.82, 328.45°)
OKLaboklab(58.07% 0.2075 -0.1259)
OKLCHoklch(58.07% 0.243 328.7)
XYZxyz(32.0891, 16.4878, 50.7725)
Luminance0.1648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C126BF #26C128
analogous
#7526C1 #C126BF #C12672
triadic
#C126BF #BFC126 #26BFC1
tetradic
#C126BF #C17526 #26C128 #2672C1
square
#C126BF #C17526 #26C128 #2672C1
split-complementary
#C126BF #72C126 #26C175
monochromatic
#5B125A #8E1C8C #C126BF #DB49D9 #E57CE4

Accessibility & contrast

On white

4.89
#C126BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C126BF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C126BF#FFFFFF#000000##FFFFFF
##C126BF1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.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: #c126bf;
/* rgb */ color: rgb(193, 38, 191);
/* oklch */ color: oklch(58.1% 0.243 328.7);
Tailwind
colors: {
  custom: {
    50: '#d875d3',
    500: '#c126bf',
    950: '#000000',
  },
}
SCSS
$custom: #c126bf;
$custom-light: #d875d3;
$custom-dark: #000000;
JSON
{
  "hex": "#c126bf",
  "rgb": {
    "r": 193,
    "g": 38,
    "b": 191
  },
  "hsl": {
    "h": 300.774,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.58073,
    "c": 0.24276,
    "h": 328.7
  },
  "luminance": 0.16485
}

Semantic roles & 50–950 ramp

primary
#C126BF
secondary
#75CD77
accent
#EA403E
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83

Preview Lab

Preview with #C126BF

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

Preview Lab → · Contrast checker → · Palette generator →

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