#C062D9#C062D9

#C062D9 is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.3% C 0.192 H 318.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#C062D9
RGBrgb(192, 98, 217)
HSLhsl(287, 61%, 62%)
HSVhsv(287, 55%, 85%)
CMYKcmyk(11.5%, 54.8%, 0%, 14.9%)
CIE-LABlab(57.03, 55.58, -45.39)
CIE-LCHlch(57.03, 71.76, 320.76°)
OKLaboklab(65.3% 0.1443 -0.1263)
OKLCHoklch(65.3% 0.192 318.8)
XYZxyz(38.6286, 24.9531, 68.4138)
Luminance0.2495 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C062D9 #7BD962
analogous
#8562D9 #C062D9 #D962B7
triadic
#C062D9 #D9C062 #62D9C0
tetradic
#C062D9 #D98562 #7BD962 #62B7D9
square
#C062D9 #D98562 #7BD962 #62B7D9
split-complementary
#C062D9 #B7D962 #62D985
monochromatic
#82269B #AC31CC #C062D9 #D493E5 #E8C5F1

Accessibility & contrast

On white

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

On black

5.99
#C062D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C062D9
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C062D9#FFFFFF#000000##000000
##C062D91.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4983DD
Deuteranopia (green-blind)
#698CD6
Tritanopia (blue-blind)
#C07494
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c062d9;
/* rgb */ color: rgb(192, 98, 217);
/* oklch */ color: oklch(65.3% 0.192 318.8);
Tailwind
colors: {
  custom: {
    50: '#d693e5',
    500: '#c062d9',
    950: '#000000',
  },
}
SCSS
$custom: #c062d9;
$custom-light: #d693e5;
$custom-dark: #000000;
JSON
{
  "hex": "#c062d9",
  "rgb": {
    "r": 192,
    "g": 98,
    "b": 217
  },
  "hsl": {
    "h": 287.395,
    "s": 61.026,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65298,
    "c": 0.19172,
    "h": 318.8
  },
  "luminance": 0.24952
}

Semantic roles & 50–950 ramp

primary
#C062D9
secondary
#BFE1B5
accent
#C91D41
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C062D9

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

Preview Lab → · Contrast checker → · Palette generator →

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