#C062D8#C062D8

#C062D8 is a light, vivid purple. Relative luminance 0.249; OKLCH L 65.2% C 0.191 H 319.1°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#C062D8
RGBrgb(192, 98, 216)
HSLhsl(288, 60%, 62%)
HSVhsv(288, 55%, 85%)
CMYKcmyk(11.1%, 54.6%, 0%, 15.3%)
CIE-LABlab(56.98, 55.38, -44.90)
CIE-LCHlch(56.98, 71.30, 320.97°)
OKLaboklab(65.25% 0.1442 -0.1249)
OKLCHoklch(65.25% 0.191 319.1)
XYZxyz(38.4990, 24.9012, 67.7309)
Luminance0.2490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C062D8 #7AD862
analogous
#8562D8 #C062D8 #D862B5
triadic
#C062D8 #D8C062 #62D8C0
tetradic
#C062D8 #D88562 #7AD862 #62B5D8
square
#C062D8 #D88562 #7AD862 #62B5D8
split-complementary
#C062D8 #B5D862 #62D885
monochromatic
#822699 #AC32CA #C062D8 #D493E4 #E7C4F0

Accessibility & contrast

On white

3.51
#C062D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#C062D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C062D8
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C062D8#FFFFFF#000000##000000
##C062D81.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A82DC
Deuteranopia (green-blind)
#698CD5
Tritanopia (blue-blind)
#C07494
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c062d8;
/* rgb */ color: rgb(192, 98, 216);
/* oklch */ color: oklch(65.2% 0.191 319.1);
Tailwind
colors: {
  custom: {
    50: '#d693e4',
    500: '#c062d8',
    950: '#000000',
  },
}
SCSS
$custom: #c062d8;
$custom-light: #d693e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c062d8",
  "rgb": {
    "r": 192,
    "g": 98,
    "b": 216
  },
  "hsl": {
    "h": 287.797,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65245,
    "c": 0.19074,
    "h": 319.1
  },
  "luminance": 0.249
}

Semantic roles & 50–950 ramp

primary
#C062D8
secondary
#BEE1B5
accent
#C81E40
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C062D8

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

Preview Lab → · Contrast checker → · Palette generator →

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