#D064CB#D064CB

#D064CB is a light, vivid purple. Relative luminance 0.268; OKLCH L 66.8% C 0.184 H 329.2°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#D064CB
RGBrgb(208, 100, 203)
HSLhsl(303, 53%, 60%)
HSVhsv(303, 52%, 82%)
CMYKcmyk(0%, 51.9%, 2.4%, 18.4%)
CIE-LABlab(58.82, 56.34, -34.50)
CIE-LCHlch(58.82, 66.06, 328.52°)
OKLaboklab(66.84% 0.1583 -0.0945)
OKLCHoklch(66.84% 0.184 329.2)
XYZxyz(41.3486, 26.8385, 59.4908)
Luminance0.2684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D064CB #64D069
analogous
#9F64D0 #D064CB #D06495
triadic
#D064CB #CBD064 #64CBD0
tetradic
#D064CB #D09F64 #64D069 #6495D0
square
#D064CB #D09F64 #64D069 #6495D0
split-complementary
#D064CB #95D064 #64D09F
monochromatic
#8E2B8A #BD39B7 #D064CB #DE93DB #ECC2EB

Accessibility & contrast

On white

3.30
#D064CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#D064CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D064CB
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D064CB#FFFFFF#000000##000000
##D064CB1.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C84CE
Deuteranopia (green-blind)
#7D93C8
Tritanopia (blue-blind)
#D66E8E
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d064cb;
/* rgb */ color: rgb(208, 100, 203);
/* oklch */ color: oklch(66.8% 0.184 329.2);
Tailwind
colors: {
  custom: {
    50: '#e195db',
    500: '#d064cb',
    950: '#000000',
  },
}
SCSS
$custom: #d064cb;
$custom-light: #e195db;
$custom-dark: #000000;
JSON
{
  "hex": "#d064cb",
  "rgb": {
    "r": 208,
    "g": 100,
    "b": 203
  },
  "hsl": {
    "h": 302.778,
    "s": 53.465,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66841,
    "c": 0.1844,
    "h": 329.2
  },
  "luminance": 0.26836
}

Semantic roles & 50–950 ramp

primary
#D064CB
secondary
#B3DDB5
accent
#C12C25
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160E15
muted
#847E83

Preview Lab

Preview with #D064CB

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

Preview Lab → · Contrast checker → · Palette generator →

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