#C126B0#C126B0

#C126B0 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 57.2% C 0.232 H 333.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C126B0
RGBrgb(193, 38, 176)
HSLhsl(307, 67%, 45%)
HSVhsv(307, 80%, 76%)
CMYKcmyk(0%, 80.3%, 8.8%, 24.3%)
CIE-LABlab(46.79, 71.74, -37.93)
CIE-LCHlch(46.79, 81.15, 332.14°)
OKLaboklab(57.23% 0.2077 -0.1042)
OKLCHoklch(57.23% 0.232 333.4)
XYZxyz(30.5222, 15.8610, 42.5199)
Luminance0.1586 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C126B0 #26C137
analogous
#8526C1 #C126B0 #C12662
triadic
#C126B0 #B0C126 #26B0C1
tetradic
#C126B0 #C18526 #26C137 #2662C1
square
#C126B0 #C18526 #26C137 #2662C1
split-complementary
#C126B0 #62C126 #26C185
monochromatic
#5B1253 #8E1C81 #C126B0 #DB49CB #E57CDA

Accessibility & contrast

On white

5.03
#C126B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C126B0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C126B0#FFFFFF#000000##FFFFFF
##C126B01.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E61B4
Deuteranopia (green-blind)
#5F77AC
Tritanopia (blue-blind)
#CA396B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c126b0;
/* rgb */ color: rgb(193, 38, 176);
/* oklch */ color: oklch(57.2% 0.232 333.4);
Tailwind
colors: {
  custom: {
    50: '#d874c8',
    500: '#c126b0',
    950: '#000000',
  },
}
SCSS
$custom: #c126b0;
$custom-light: #d874c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c126b0",
  "rgb": {
    "r": 193,
    "g": 38,
    "b": 176
  },
  "hsl": {
    "h": 306.581,
    "s": 67.1,
    "l": 45.294
  },
  "oklch": {
    "l": 0.57228,
    "c": 0.23235,
    "h": 333.4
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#C126B0
secondary
#75CD7F
accent
#EA513E
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #C126B0

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

Preview Lab → · Contrast checker → · Palette generator →

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