#C062D7#C062D7

#C062D7 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.2% C 0.190 H 319.4°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#C062D7
RGBrgb(192, 98, 215)
HSLhsl(288, 59%, 61%)
HSVhsv(288, 54%, 84%)
CMYKcmyk(10.7%, 54.4%, 0%, 15.7%)
CIE-LABlab(56.93, 55.19, -44.42)
CIE-LCHlch(56.93, 70.84, 321.17°)
OKLaboklab(65.19% 0.1441 -0.1235)
OKLCHoklch(65.19% 0.19 319.4)
XYZxyz(38.3701, 24.8497, 67.0521)
Luminance0.2485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C062D7 #79D762
analogous
#8662D7 #C062D7 #D762B4
triadic
#C062D7 #D7C062 #62D7C0
tetradic
#C062D7 #D78662 #79D762 #62B4D7
square
#C062D7 #D78662 #79D762 #62B4D7
split-complementary
#C062D7 #B4D762 #62D786
monochromatic
#822798 #AB33C9 #C062D7 #D493E3 #E7C4F0

Accessibility & contrast

On white

3.52
#C062D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#C062D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C062D7
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C062D7#FFFFFF#000000##000000
##C062D71.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B82DB
Deuteranopia (green-blind)
#6A8CD4
Tritanopia (blue-blind)
#C17393
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c062d7;
/* rgb */ color: rgb(192, 98, 215);
/* oklch */ color: oklch(65.2% 0.190 319.4);
Tailwind
colors: {
  custom: {
    50: '#d593e4',
    500: '#c062d7',
    950: '#000000',
  },
}
SCSS
$custom: #c062d7;
$custom-light: #d593e4;
$custom-dark: #000000;
JSON
{
  "hex": "#c062d7",
  "rgb": {
    "r": 192,
    "g": 98,
    "b": 215
  },
  "hsl": {
    "h": 288.205,
    "s": 59.391,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65191,
    "c": 0.18976,
    "h": 319.4
  },
  "luminance": 0.24848
}

Semantic roles & 50–950 ramp

primary
#C062D7
secondary
#BDE0B5
accent
#C71E40
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#150D15
muted
#837E84

Preview Lab

Preview with #C062D7

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

Preview Lab → · Contrast checker → · Palette generator →

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