#C062DD#C062DD

#C062DD is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.5% C 0.196 H 317.6°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#C062DD
RGBrgb(192, 98, 221)
HSLhsl(286, 64%, 63%)
HSVhsv(286, 56%, 87%)
CMYKcmyk(13.1%, 55.7%, 0%, 13.3%)
CIE-LABlab(57.23, 56.37, -47.32)
CIE-LCHlch(57.23, 73.60, 319.99°)
OKLaboklab(65.52% 0.1446 -0.1319)
OKLCHoklch(65.52% 0.196 317.6)
XYZxyz(39.1552, 25.1637, 71.1871)
Luminance0.2516 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C062DD #7FDD62
analogous
#8362DD #C062DD #DD62BC
triadic
#C062DD #DDC062 #62DDC0
tetradic
#C062DD #DD8362 #7FDD62 #62BCDD
square
#C062DD #DD8362 #7FDD62 #62BCDD
split-complementary
#C062DD #BCDD62 #62DD83
monochromatic
#8423A2 #AC30D2 #C062DD #D494E8 #E8C7F3

Accessibility & contrast

On white

3.48
#C062DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#C062DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C062DD
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C062DD#FFFFFF#000000##000000
##C062DD1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4683E1
Deuteranopia (green-blind)
#668CDA
Tritanopia (blue-blind)
#BF7596
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c062dd;
/* rgb */ color: rgb(192, 98, 221);
/* oklch */ color: oklch(65.5% 0.196 317.6);
Tailwind
colors: {
  custom: {
    50: '#d693e8',
    500: '#c062dd',
    950: '#000000',
  },
}
SCSS
$custom: #c062dd;
$custom-light: #d693e8;
$custom-dark: #000000;
JSON
{
  "hex": "#c062dd",
  "rgb": {
    "r": 192,
    "g": 98,
    "b": 221
  },
  "hsl": {
    "h": 285.854,
    "s": 64.398,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65515,
    "c": 0.19568,
    "h": 317.6
  },
  "luminance": 0.25162
}

Semantic roles & 50–950 ramp

primary
#C062DD
secondary
#C2E4B7
accent
#CC1943
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C062DD

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

Preview Lab → · Contrast checker → · Palette generator →

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