#C064DA#C064DA

#C064DA is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.6% C 0.190 H 318.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#C064DA
RGBrgb(192, 100, 218)
HSLhsl(287, 61%, 62%)
HSVhsv(287, 54%, 85%)
CMYKcmyk(11.9%, 54.1%, 0%, 14.5%)
CIE-LABlab(57.45, 54.80, -45.29)
CIE-LCHlch(57.45, 71.09, 320.43°)
OKLaboklab(65.62% 0.1417 -0.126)
OKLCHoklch(65.62% 0.19 318.4)
XYZxyz(38.9486, 25.3842, 69.1641)
Luminance0.2538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C064DA #7EDA64
analogous
#8564DA #C064DA #DA64B9
triadic
#C064DA #DAC064 #64DAC0
tetradic
#C064DA #DA8564 #7EDA64 #64B9DA
square
#C064DA #DA8564 #7EDA64 #64B9DA
split-complementary
#C064DA #B9DA64 #64DA85
monochromatic
#83269E #AC33CE #C064DA #D495E6 #E8C7F2

Accessibility & contrast

On white

3.46
#C064DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#C064DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C064DA
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C064DA#FFFFFF#000000##000000
##C064DA1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B84DE
Deuteranopia (green-blind)
#6A8DD7
Tritanopia (blue-blind)
#C07696
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c064da;
/* rgb */ color: rgb(192, 100, 218);
/* oklch */ color: oklch(65.6% 0.190 318.4);
Tailwind
colors: {
  custom: {
    50: '#d594e6',
    500: '#c064da',
    950: '#000000',
  },
}
SCSS
$custom: #c064da;
$custom-light: #d594e6;
$custom-dark: #000000;
JSON
{
  "hex": "#c064da",
  "rgb": {
    "r": 192,
    "g": 100,
    "b": 218
  },
  "hsl": {
    "h": 286.78,
    "s": 61.458,
    "l": 62.353
  },
  "oklch": {
    "l": 0.65622,
    "c": 0.18965,
    "h": 318.4
  },
  "luminance": 0.25383
}

Semantic roles & 50–950 ramp

primary
#C064DA
secondary
#C1E2B7
accent
#C91C42
background
#FDF9FE
surface
#FAF2FC
border
#D3CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #C064DA

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

Preview Lab → · Contrast checker → · Palette generator →

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