#C062DB#C062DB

#C062DB is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.4% C 0.194 H 318.2°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#C062DB
RGBrgb(192, 98, 219)
HSLhsl(287, 63%, 62%)
HSVhsv(287, 55%, 86%)
CMYKcmyk(12.3%, 55.3%, 0%, 14.1%)
CIE-LABlab(57.13, 55.97, -46.35)
CIE-LCHlch(57.13, 72.68, 320.37°)
OKLaboklab(65.41% 0.1444 -0.1291)
OKLCHoklch(65.41% 0.194 318.2)
XYZxyz(38.8903, 25.0578, 69.7922)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C062DB #7DDB62
analogous
#8462DB #C062DB #DB62B9
triadic
#C062DB #DBC062 #62DBC0
tetradic
#C062DB #DB8462 #7DDB62 #62B9DB
square
#C062DB #DB8462 #7DDB62 #62B9DB
split-complementary
#C062DB #B9DB62 #62DB84
monochromatic
#83249E #AC30D0 #C062DB #D494E6 #E8C6F2

Accessibility & contrast

On white

3.49
#C062DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#C062DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C062DB
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C062DB#FFFFFF#000000##000000
##C062DB1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4783DF
Deuteranopia (green-blind)
#688CD8
Tritanopia (blue-blind)
#C07595
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c062db;
/* rgb */ color: rgb(192, 98, 219);
/* oklch */ color: oklch(65.4% 0.194 318.2);
Tailwind
colors: {
  custom: {
    50: '#d693e6',
    500: '#c062db',
    950: '#000000',
  },
}
SCSS
$custom: #c062db;
$custom-light: #d693e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c062db",
  "rgb": {
    "r": 192,
    "g": 98,
    "b": 219
  },
  "hsl": {
    "h": 286.612,
    "s": 62.694,
    "l": 62.157
  },
  "oklch": {
    "l": 0.65406,
    "c": 0.19371,
    "h": 318.2
  },
  "luminance": 0.25056
}

Semantic roles & 50–950 ramp

primary
#C062DB
secondary
#C0E3B6
accent
#CA1B42
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C062DB

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

Preview Lab → · Contrast checker → · Palette generator →

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