#CD64D7#CD64D7

#CD64D7 is a light, vivid purple. Relative luminance 0.270; OKLCH L 67.0% C 0.193 H 324.1°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#CD64D7
RGBrgb(205, 100, 215)
HSLhsl(295, 59%, 62%)
HSVhsv(295, 53%, 84%)
CMYKcmyk(4.7%, 53.5%, 0%, 15.7%)
CIE-LABlab(58.98, 57.66, -41.08)
CIE-LCHlch(58.98, 70.80, 324.53°)
OKLaboklab(67.05% 0.1565 -0.1135)
OKLCHoklch(67.05% 0.193 324.1)
XYZxyz(41.9986, 27.0019, 67.2765)
Luminance0.2700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD64D7 #6ED764
analogous
#9464D7 #CD64D7 #D764A7
triadic
#CD64D7 #D7CD64 #64D7CD
tetradic
#CD64D7 #D79464 #6ED764 #64A7D7
square
#CD64D7 #D79464 #6ED764 #64A7D7
split-complementary
#CD64D7 #A7D764 #64D794
monochromatic
#8F2899 #BD34CA #CD64D7 #DD95E4 #ECC5F0

Accessibility & contrast

On white

3.28
#CD64D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#CD64D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD64D7
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD64D7#FFFFFF#000000##000000
##CD64D71.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5486DB
Deuteranopia (green-blind)
#7592D4
Tritanopia (blue-blind)
#D17394
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cd64d7;
/* rgb */ color: rgb(205, 100, 215);
/* oklch */ color: oklch(67.0% 0.193 324.1);
Tailwind
colors: {
  custom: {
    50: '#df95e4',
    500: '#cd64d7',
    950: '#000000',
  },
}
SCSS
$custom: #cd64d7;
$custom-light: #df95e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd64d7",
  "rgb": {
    "r": 205,
    "g": 100,
    "b": 215
  },
  "hsl": {
    "h": 294.783,
    "s": 58.974,
    "l": 61.765
  },
  "oklch": {
    "l": 0.6705,
    "c": 0.19335,
    "h": 324.1
  },
  "luminance": 0.27
}

Semantic roles & 50–950 ramp

primary
#CD64D7
secondary
#BAE1B6
accent
#C71F2D
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E15
muted
#837E84

Preview Lab

Preview with #CD64D7

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

Preview Lab → · Contrast checker → · Palette generator →

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