#C626BA#C626BA

#C626BA is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.6% C 0.241 H 331.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C626BA
RGBrgb(198, 38, 186)
HSLhsl(305, 68%, 46%)
HSVhsv(305, 81%, 78%)
CMYKcmyk(0%, 80.8%, 6.1%, 22.4%)
CIE-LABlab(48.18, 74.21, -41.54)
CIE-LCHlch(48.18, 85.05, 330.76°)
OKLaboklab(58.55% 0.2126 -0.1145)
OKLCHoklch(58.55% 0.242 331.7)
XYZxyz(32.8448, 16.9400, 47.9847)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C626BA #26C632
analogous
#8226C6 #C626BA #C6266A
triadic
#C626BA #BAC626 #26BAC6
tetradic
#C626BA #C68226 #26C632 #266AC6
square
#C626BA #C68226 #26C632 #266AC6
split-complementary
#C626BA #6AC626 #26C682
monochromatic
#5F125A #931C8A #C626BA #DD4CD2 #E780DF

Accessibility & contrast

On white

4.79
#C626BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C626BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C626BA
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C626BA#FFFFFF#000000##FFFFFF
##C626BA1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1164BE
Deuteranopia (green-blind)
#5E7AB6
Tritanopia (blue-blind)
#CE3D71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c626ba;
/* rgb */ color: rgb(198, 38, 186);
/* oklch */ color: oklch(58.6% 0.241 331.7);
Tailwind
colors: {
  custom: {
    50: '#dc75cf',
    500: '#c626ba',
    950: '#000000',
  },
}
SCSS
$custom: #c626ba;
$custom-light: #dc75cf;
$custom-dark: #000000;
JSON
{
  "hex": "#c626ba",
  "rgb": {
    "r": 198,
    "g": 38,
    "b": 186
  },
  "hsl": {
    "h": 304.5,
    "s": 67.797,
    "l": 46.275
  },
  "oklch": {
    "l": 0.58554,
    "c": 0.2415,
    "h": 331.7
  },
  "luminance": 0.16937
}

Semantic roles & 50–950 ramp

primary
#C626BA
secondary
#79CF7F
accent
#EB4A3D
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#160A14
muted
#847C82

Preview Lab

Preview with #C626BA

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

Preview Lab → · Contrast checker → · Palette generator →

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