#C62EC7#C62EC7

#C62EC7 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.8% C 0.244 H 327.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#C62EC7
RGBrgb(198, 46, 199)
HSLhsl(300, 62%, 48%)
HSVhsv(300, 77%, 78%)
CMYKcmyk(0.5%, 76.9%, 0%, 22%)
CIE-LABlab(49.60, 74.16, -46.84)
CIE-LCHlch(49.60, 87.72, 327.72°)
OKLaboklab(59.79% 0.2066 -0.13)
OKLCHoklch(59.79% 0.244 327.8)
XYZxyz(34.5741, 18.0858, 55.6917)
Luminance0.1808 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C62EC7 #2FC72E
analogous
#792EC7 #C62EC7 #C72E7B
triadic
#C62EC7 #C7C62E #2EC7C6
tetradic
#C62EC7 #C7792E #2FC72E #2E7BC7
square
#C62EC7 #C7792E #2FC72E #2E7BC7
split-complementary
#C62EC7 #7BC72E #2EC779
monochromatic
#631764 #952395 #C62EC7 #D859D9 #E48BE4

Accessibility & contrast

On white

4.55
#C62EC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#C62EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C62EC7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C62EC7#FFFFFF#000000##000000
##C62EC71.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#597DC3
Tritanopia (blue-blind)
#CC487A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c62ec7;
/* rgb */ color: rgb(198, 46, 199);
/* oklch */ color: oklch(59.8% 0.244 327.8);
Tailwind
colors: {
  custom: {
    50: '#dc79d8',
    500: '#c62ec7',
    950: '#000000',
  },
}
SCSS
$custom: #c62ec7;
$custom-light: #dc79d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c62ec7",
  "rgb": {
    "r": 198,
    "g": 46,
    "b": 199
  },
  "hsl": {
    "h": 299.608,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59792,
    "c": 0.24405,
    "h": 327.8
  },
  "luminance": 0.18083
}

Semantic roles & 50–950 ramp

primary
#C62EC7
secondary
#83CE83
accent
#E64243
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C62EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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