#CD64F2#CD64F2

#CD64F2 is a light, highly saturated purple. Relative luminance 0.285; OKLCH L 68.5% C 0.219 H 316.4°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#CD64F2
RGBrgb(205, 100, 242)
HSLhsl(284, 85%, 67%)
HSVhsv(284, 59%, 95%)
CMYKcmyk(15.3%, 58.7%, 0%, 5.1%)
CIE-LABlab(60.34, 62.81, -54.02)
CIE-LCHlch(60.34, 82.84, 319.30°)
OKLaboklab(68.49% 0.1584 -0.1511)
OKLCHoklch(68.49% 0.219 316.4)
XYZxyz(45.7586, 28.5059, 87.0790)
Luminance0.2850 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD64F2 #89F264
analogous
#8664F2 #CD64F2 #F264D0
triadic
#CD64F2 #F2CD64 #64F2CD
tetradic
#CD64F2 #F28664 #89F264 #64D0F2
square
#CD64F2 #F28664 #89F264 #64D0F2
split-complementary
#CD64F2 #D0F264 #64F286
monochromatic
#9A11CB #BB2CED #CD64F2 #DF9CF7 #F1D5FB

Accessibility & contrast

On white

3.13
#CD64F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#CD64F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD64F2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD64F2#FFFFFF#000000##000000
##CD64F21.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C8BF6
Deuteranopia (green-blind)
#6695EE
Tritanopia (blue-blind)
#CB7CA2
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cd64f2;
/* rgb */ color: rgb(205, 100, 242);
/* oklch */ color: oklch(68.5% 0.219 316.4);
Tailwind
colors: {
  custom: {
    50: '#df95f7',
    500: '#cd64f2',
    950: '#000000',
  },
}
SCSS
$custom: #cd64f2;
$custom-light: #df95f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd64f2",
  "rgb": {
    "r": 205,
    "g": 100,
    "b": 242
  },
  "hsl": {
    "h": 284.366,
    "s": 84.524,
    "l": 67.059
  },
  "oklch": {
    "l": 0.68493,
    "c": 0.21889,
    "h": 316.4
  },
  "luminance": 0.28504
}

Semantic roles & 50–950 ramp

primary
#CD64F2
secondary
#CEEFC2
accent
#E1053E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CD64F2

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

Preview Lab → · Contrast checker → · Palette generator →

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