#C062DF#C062DF

#C062DF is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.6% C 0.198 H 317.1°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#C062DF
RGBrgb(192, 98, 223)
HSLhsl(285, 66%, 63%)
HSVhsv(285, 56%, 87%)
CMYKcmyk(13.9%, 56.1%, 0%, 12.5%)
CIE-LABlab(57.34, 56.77, -48.28)
CIE-LCHlch(57.34, 74.52, 319.62°)
OKLaboklab(65.63% 0.1447 -0.1347)
OKLCHoklch(65.63% 0.198 317.1)
XYZxyz(39.4233, 25.2710, 72.5988)
Luminance0.2527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C062DF #81DF62
analogous
#8162DF #C062DF #DF62BF
triadic
#C062DF #DFC062 #62DFC0
tetradic
#C062DF #DF8162 #81DF62 #62BFDF
square
#C062DF #DF8162 #81DF62 #62BFDF
split-complementary
#C062DF #BFDF62 #62DF81
monochromatic
#8422A5 #AC2FD5 #C062DF #D495E9 #E9C8F4

Accessibility & contrast

On white

3.47
#C062DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#C062DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C062DF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C062DF#FFFFFF#000000##000000
##C062DF1.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4484E3
Deuteranopia (green-blind)
#658DDC
Tritanopia (blue-blind)
#BF7697
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c062df;
/* rgb */ color: rgb(192, 98, 223);
/* oklch */ color: oklch(65.6% 0.198 317.1);
Tailwind
colors: {
  custom: {
    50: '#d693e9',
    500: '#c062df',
    950: '#000000',
  },
}
SCSS
$custom: #c062df;
$custom-light: #d693e9;
$custom-dark: #000000;
JSON
{
  "hex": "#c062df",
  "rgb": {
    "r": 192,
    "g": 98,
    "b": 223
  },
  "hsl": {
    "h": 285.12,
    "s": 66.138,
    "l": 62.941
  },
  "oklch": {
    "l": 0.65625,
    "c": 0.19767,
    "h": 317.1
  },
  "luminance": 0.2527
}

Semantic roles & 50–950 ramp

primary
#C062DF
secondary
#C3E5B8
accent
#CE1745
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C062DF

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

Preview Lab → · Contrast checker → · Palette generator →

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