#C062D4#C062D4

#C062D4 is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.0% C 0.187 H 320.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#C062D4
RGBrgb(192, 98, 212)
HSLhsl(289, 57%, 61%)
HSVhsv(289, 54%, 83%)
CMYKcmyk(9.4%, 53.8%, 0%, 16.9%)
CIE-LABlab(56.78, 54.60, -42.96)
CIE-LCHlch(56.78, 69.47, 321.81°)
OKLaboklab(65.03% 0.1438 -0.1192)
OKLCHoklch(65.03% 0.187 320.3)
XYZxyz(37.9881, 24.6969, 65.0405)
Luminance0.2470 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C062D4 #76D462
analogous
#8762D4 #C062D4 #D462AF
triadic
#C062D4 #D4C062 #62D4C0
tetradic
#C062D4 #D48762 #76D462 #62AFD4
square
#C062D4 #D48762 #76D462 #62AFD4
split-complementary
#C062D4 #AFD462 #62D487
monochromatic
#812893 #AA35C3 #C062D4 #D392E1 #E7C2EE

Accessibility & contrast

On white

3.54
#C062D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#C062D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C062D4
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C062D4#FFFFFF#000000##000000
##C062D41.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D82D8
Deuteranopia (green-blind)
#6C8CD1
Tritanopia (blue-blind)
#C17292
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c062d4;
/* rgb */ color: rgb(192, 98, 212);
/* oklch */ color: oklch(65.0% 0.187 320.3);
Tailwind
colors: {
  custom: {
    50: '#d593e1',
    500: '#c062d4',
    950: '#000000',
  },
}
SCSS
$custom: #c062d4;
$custom-light: #d593e1;
$custom-dark: #000000;
JSON
{
  "hex": "#c062d4",
  "rgb": {
    "r": 192,
    "g": 98,
    "b": 212
  },
  "hsl": {
    "h": 289.474,
    "s": 57,
    "l": 60.784
  },
  "oklch": {
    "l": 0.65033,
    "c": 0.18682,
    "h": 320.3
  },
  "luminance": 0.24695
}

Semantic roles & 50–950 ramp

primary
#C062D4
secondary
#BBDEB3
accent
#C5213E
background
#FDF9FD
surface
#FAF2FB
border
#D3CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #C062D4

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

Preview Lab → · Contrast checker → · Palette generator →

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