#C062CC#C062CC

#C062CC is a light, vivid purple. Relative luminance 0.243; OKLCH L 64.6% C 0.179 H 323.0°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#C062CC
RGBrgb(192, 98, 204)
HSLhsl(293, 51%, 59%)
HSVhsv(293, 52%, 80%)
CMYKcmyk(5.9%, 52%, 0%, 20%)
CIE-LABlab(56.39, 53.07, -39.03)
CIE-LCHlch(56.39, 65.87, 323.67°)
OKLaboklab(64.62% 0.143 -0.1079)
OKLCHoklch(64.62% 0.179 323)
XYZxyz(37.0039, 24.3032, 59.8569)
Luminance0.2430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C062CC #6ECC62
analogous
#8B62CC #C062CC #CC62A3
triadic
#C062CC #CCC062 #62CCC0
tetradic
#C062CC #CC8B62 #6ECC62 #62A3CC
square
#C062CC #CC8B62 #6ECC62 #62A3CC
split-complementary
#C062CC #A3CC62 #62CC8B
monochromatic
#7D2C88 #A83BB6 #C062CC #D390DB #E5BEEA

Accessibility & contrast

On white

3.58
#C062CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#C062CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C062CC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C062CC#FFFFFF#000000##000000
##C062CC1.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5280CF
Deuteranopia (green-blind)
#708BC9
Tritanopia (blue-blind)
#C3708E
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #c062cc;
/* rgb */ color: rgb(192, 98, 204);
/* oklch */ color: oklch(64.6% 0.179 323.0);
Tailwind
colors: {
  custom: {
    50: '#d592dc',
    500: '#c062cc',
    950: '#000000',
  },
}
SCSS
$custom: #c062cc;
$custom-light: #d592dc;
$custom-dark: #000000;
JSON
{
  "hex": "#c062cc",
  "rgb": {
    "r": 192,
    "g": 98,
    "b": 204
  },
  "hsl": {
    "h": 293.208,
    "s": 50.962,
    "l": 59.216
  },
  "oklch": {
    "l": 0.6462,
    "c": 0.17909,
    "h": 323
  },
  "luminance": 0.24301
}

Semantic roles & 50–950 ramp

primary
#C062CC
secondary
#B5DAB0
accent
#DA4D5D
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C062CC

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

Preview Lab → · Contrast checker → · Palette generator →

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