#CD4FF2#CD4FF2

#CD4FF2 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.1% C 0.247 H 317.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#CD4FF2
RGBrgb(205, 79, 242)
HSLhsl(286, 86%, 63%)
HSVhsv(286, 67%, 95%)
CMYKcmyk(15.3%, 67.4%, 0%, 5.1%)
CIE-LABlab(57.06, 71.87, -59.26)
CIE-LCHlch(57.06, 93.15, 320.49°)
OKLaboklab(66.12% 0.182 -0.1663)
OKLCHoklch(66.12% 0.247 317.6)
XYZxyz(43.9975, 24.9838, 86.4920)
Luminance0.2498 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FF2 #74F24F
analogous
#7B4FF2 #CD4FF2 #F24FC6
triadic
#CD4FF2 #F2CD4F #4FF2CD
tetradic
#CD4FF2 #F27B4F #74F24F #4FC6F2
square
#CD4FF2 #F27B4F #74F24F #4FC6F2
split-complementary
#CD4FF2 #C6F24F #4FF27B
monochromatic
#920EB9 #BD16EE #CD4FF2 #DD88F6 #EDC1FA

Accessibility & contrast

On white

3.50
#CD4FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#CD4FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FF2
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FF2#FFFFFF#000000##000000
##CD4FF21.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F7
Deuteranopia (green-blind)
#548DEE
Tritanopia (blue-blind)
#CC6E9B
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd4ff2;
/* rgb */ color: rgb(205, 79, 242);
/* oklch */ color: oklch(66.1% 0.247 317.6);
Tailwind
colors: {
  custom: {
    50: '#e08af7',
    500: '#cd4ff2',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ff2;
$custom-light: #e08af7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ff2",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 286.38,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66121,
    "c": 0.24652,
    "h": 317.6
  },
  "luminance": 0.24982
}

Semantic roles & 50–950 ramp

primary
#CD4FF2
secondary
#BEECB1
accent
#E30336
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CD4FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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