#CD4AFF#CD4AFF

#CD4AFF is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.5% C 0.264 H 314.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#CD4AFF
RGBrgb(205, 74, 255)
HSLhsl(283, 100%, 65%)
HSVhsv(283, 71%, 100%)
CMYKcmyk(19.6%, 71%, 0%, 0%)
CIE-LABlab(57.17, 76.24, -66.30)
CIE-LCHlch(57.17, 101.04, 318.99°)
OKLaboklab(66.45% 0.1858 -0.1869)
OKLCHoklch(66.45% 0.264 314.8)
XYZxyz(45.6726, 25.0983, 97.0269)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4AFF #7CFF4A
analogous
#724AFF #CD4AFF #FF4AD7
triadic
#CD4AFF #FFCD4A #4AFFCD
tetradic
#CD4AFF #FF724A #7CFF4A #4AD7FF
square
#CD4AFF #FF724A #7CFF4A #4AD7FF
split-complementary
#CD4AFF #D7FF4A #4AFF72
monochromatic
#9600CF #BC0DFF #CD4AFF #DE87FF #EFC4FF

Accessibility & contrast

On white

3.49
#CD4AFF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#CD4AFF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4AFF
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4AFF#FFFFFF#000000##000000
##CD4AFF1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#428DFB
Tritanopia (blue-blind)
#C970A1
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd4aff;
/* rgb */ color: rgb(205, 74, 255);
/* oklch */ color: oklch(66.5% 0.264 314.8);
Tailwind
colors: {
  custom: {
    50: '#e188ff',
    500: '#cd4aff',
    950: '#000000',
  },
}
SCSS
$custom: #cd4aff;
$custom-light: #e188ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4aff",
  "rgb": {
    "r": 205,
    "g": 74,
    "b": 255
  },
  "hsl": {
    "h": 283.425,
    "s": 100,
    "l": 64.51
  },
  "oklch": {
    "l": 0.66452,
    "c": 0.26355,
    "h": 314.8
  },
  "luminance": 0.25097
}

Semantic roles & 50–950 ramp

primary
#CD4AFF
secondary
#C4F2B3
accent
#E6003F
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #CD4AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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