#CD64F5#CD64F5

#CD64F5 is a light, highly saturated purple. Relative luminance 0.287; OKLCH L 68.7% C 0.222 H 315.6°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#CD64F5
RGBrgb(205, 100, 245)
HSLhsl(283, 88%, 68%)
HSVhsv(283, 59%, 96%)
CMYKcmyk(16.3%, 59.2%, 0%, 3.9%)
CIE-LABlab(60.50, 63.41, -55.42)
CIE-LCHlch(60.50, 84.21, 318.84°)
OKLaboklab(68.66% 0.1585 -0.1552)
OKLCHoklch(68.66% 0.222 315.6)
XYZxyz(46.2129, 28.6876, 89.4714)
Luminance0.2869 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD64F5 #8CF564
analogous
#8464F5 #CD64F5 #F564D5
triadic
#CD64F5 #F5CD64 #64F5CD
tetradic
#CD64F5 #F58464 #8CF564 #64D5F5
square
#CD64F5 #F58464 #8CF564 #64D5F5
split-complementary
#CD64F5 #D5F564 #64F584
monochromatic
#9B0DD1 #BA2BF1 #CD64F5 #E09DF9 #F2D7FC

Accessibility & contrast

On white

3.12
#CD64F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#CD64F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD64F5
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD64F5#FFFFFF#000000##000000
##CD64F51.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#388CFA
Deuteranopia (green-blind)
#6395F1
Tritanopia (blue-blind)
#CA7DA3
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd64f5;
/* rgb */ color: rgb(205, 100, 245);
/* oklch */ color: oklch(68.7% 0.222 315.6);
Tailwind
colors: {
  custom: {
    50: '#df95f9',
    500: '#cd64f5',
    950: '#000000',
  },
}
SCSS
$custom: #cd64f5;
$custom-light: #df95f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd64f5",
  "rgb": {
    "r": 205,
    "g": 100,
    "b": 245
  },
  "hsl": {
    "h": 283.448,
    "s": 87.879,
    "l": 67.647
  },
  "oklch": {
    "l": 0.68663,
    "c": 0.22179,
    "h": 315.6
  },
  "luminance": 0.28686
}

Semantic roles & 50–950 ramp

primary
#CD64F5
secondary
#D0F1C4
accent
#E40140
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CD64F5

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

Preview Lab → · Contrast checker → · Palette generator →

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