#C626B2#C626B2

#C626B2 is a mid, highly saturated purple. Relative luminance 0.166; OKLCH L 58.1% C 0.236 H 334.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C626B2
RGBrgb(198, 38, 178)
HSLhsl(308, 68%, 46%)
HSVhsv(308, 81%, 78%)
CMYKcmyk(0%, 80.8%, 10.1%, 22.4%)
CIE-LABlab(47.76, 73.06, -37.51)
CIE-LCHlch(47.76, 82.12, 332.82°)
OKLaboklab(58.12% 0.2125 -0.1029)
OKLCHoklch(58.12% 0.236 334.2)
XYZxyz(32.0181, 16.6093, 43.6305)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C626B2 #26C63A
analogous
#8A26C6 #C626B2 #C62662
triadic
#C626B2 #B2C626 #26B2C6
tetradic
#C626B2 #C68A26 #26C63A #2662C6
square
#C626B2 #C68A26 #26C63A #2662C6
split-complementary
#C626B2 #62C626 #26C68A
monochromatic
#5F1256 #931C84 #C626B2 #DD4CCB #E780DA

Accessibility & contrast

On white

4.86
#C626B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C626B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C626B2
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C626B2#FFFFFF#000000##FFFFFF
##C626B21.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2163B6
Deuteranopia (green-blind)
#6279AE
Tritanopia (blue-blind)
#D0386C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c626b2;
/* rgb */ color: rgb(198, 38, 178);
/* oklch */ color: oklch(58.1% 0.236 334.2);
Tailwind
colors: {
  custom: {
    50: '#dc75c9',
    500: '#c626b2',
    950: '#000000',
  },
}
SCSS
$custom: #c626b2;
$custom-light: #dc75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c626b2",
  "rgb": {
    "r": 198,
    "g": 38,
    "b": 178
  },
  "hsl": {
    "h": 307.5,
    "s": 67.797,
    "l": 46.275
  },
  "oklch": {
    "l": 0.58118,
    "c": 0.23609,
    "h": 334.2
  },
  "luminance": 0.16606
}

Semantic roles & 50–950 ramp

primary
#C626B2
secondary
#79CF83
accent
#EB533D
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C626B2

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

Preview Lab → · Contrast checker → · Palette generator →

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