#CD4FFF#CD4FFF

#CD4FFF is a light, highly saturated purple. Relative luminance 0.258; OKLCH L 66.9% C 0.258 H 314.6°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#CD4FFF
RGBrgb(205, 79, 255)
HSLhsl(283, 100%, 65%)
HSVhsv(283, 69%, 100%)
CMYKcmyk(19.6%, 69%, 0%, 0%)
CIE-LABlab(57.84, 74.34, -65.23)
CIE-LCHlch(57.84, 98.90, 318.74°)
OKLaboklab(66.93% 0.1811 -0.1838)
OKLCHoklch(66.93% 0.258 314.6)
XYZxyz(46.0198, 25.7927, 97.1427)
Luminance0.2579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FFF #81FF4F
analogous
#754FFF #CD4FFF #FF4FD9
triadic
#CD4FFF #FFCD4F #4FFFCD
tetradic
#CD4FFF #FF754F #81FF4F #4FD9FF
square
#CD4FFF #FF754F #81FF4F #4FD9FF
split-complementary
#CD4FFF #D9FF4F #4FFF75
monochromatic
#9700D4 #BC12FF #CD4FFF #DE8CFF #F0C9FF

Accessibility & contrast

On white

3.41
#CD4FFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.16
#CD4FFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FFF
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FFF#FFFFFF#000000##000000
##CD4FFF1.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#478EFB
Tritanopia (blue-blind)
#C973A2
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cd4fff;
/* rgb */ color: rgb(205, 79, 255);
/* oklch */ color: oklch(66.9% 0.258 314.6);
Tailwind
colors: {
  custom: {
    50: '#e18aff',
    500: '#cd4fff',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fff;
$custom-light: #e18aff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fff",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 255
  },
  "hsl": {
    "h": 282.955,
    "s": 100,
    "l": 65.49
  },
  "oklch": {
    "l": 0.66928,
    "c": 0.25797,
    "h": 314.6
  },
  "luminance": 0.25791
}

Semantic roles & 50–950 ramp

primary
#CD4FFF
secondary
#C8F2B7
accent
#E60041
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #CD4FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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