#C62DB2#C62DB2

#C62DB2 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.6% C 0.230 H 334.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C62DB2
RGBrgb(198, 45, 178)
HSLhsl(308, 63%, 48%)
HSVhsv(308, 77%, 78%)
CMYKcmyk(0%, 77.3%, 10.1%, 22.4%)
CIE-LABlab(48.39, 71.26, -36.53)
CIE-LCHlch(48.39, 80.08, 332.86°)
OKLaboklab(58.56% 0.2072 -0.1001)
OKLCHoklch(58.56% 0.23 334.2)
XYZxyz(32.2633, 17.0998, 43.7122)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C62DB2 #2DC641
analogous
#8D2DC6 #C62DB2 #C62D66
triadic
#C62DB2 #B2C62D #2DB2C6
tetradic
#C62DB2 #C68D2D #2DC641 #2D66C6
square
#C62DB2 #C68D2D #2DC641 #2D66C6
split-complementary
#C62DB2 #66C62D #2DC68D
monochromatic
#621658 #942285 #C62DB2 #D957C8 #E489D8

Accessibility & contrast

On white

4.75
#C62DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C62DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C62DB2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C62DB2#FFFFFF#000000##FFFFFF
##C62DB21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#647BAE
Tritanopia (blue-blind)
#D03C6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c62db2;
/* rgb */ color: rgb(198, 45, 178);
/* oklch */ color: oklch(58.6% 0.230 334.2);
Tailwind
colors: {
  custom: {
    50: '#db77c9',
    500: '#c62db2',
    950: '#000000',
  },
}
SCSS
$custom: #c62db2;
$custom-light: #db77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c62db2",
  "rgb": {
    "r": 198,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 307.843,
    "s": 62.963,
    "l": 47.647
  },
  "oklch": {
    "l": 0.58563,
    "c": 0.23011,
    "h": 334.2
  },
  "luminance": 0.17097
}

Semantic roles & 50–950 ramp

primary
#C62DB2
secondary
#81CE8B
accent
#E65742
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C62DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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