#CD4FF4#CD4FF4

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

Color values

HEX#CD4FF4
RGBrgb(205, 79, 244)
HSLhsl(286, 88%, 63%)
HSVhsv(286, 68%, 96%)
CMYKcmyk(16%, 67.6%, 0%, 4.3%)
CIE-LABlab(57.18, 72.25, -60.19)
CIE-LCHlch(57.18, 94.03, 320.20°)
OKLaboklab(66.24% 0.1819 -0.169)
OKLCHoklch(66.24% 0.248 317.1)
XYZxyz(44.2996, 25.1046, 88.0826)
Luminance0.2510 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FF4 #76F44F
analogous
#7A4FF4 #CD4FF4 #F44FC8
triadic
#CD4FF4 #F4CD4F #4FF4CD
tetradic
#CD4FF4 #F47A4F #76F44F #4FC8F4
square
#CD4FF4 #F47A4F #76F44F #4FC8F4
split-complementary
#CD4FF4 #C8F44F #4FF47A
monochromatic
#930CBD #BD15F0 #CD4FF4 #DD89F8 #EEC2FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD4FF4#FFFFFF#000000##000000
##CD4FF41.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)
#0081F9
Deuteranopia (green-blind)
#528DF0
Tritanopia (blue-blind)
#CB6F9C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cd4ff4;
/* rgb */ color: rgb(205, 79, 244);
/* oklch */ color: oklch(66.2% 0.248 317.1);
Tailwind
colors: {
  custom: {
    50: '#e08af8',
    500: '#cd4ff4',
    950: '#000000',
  },
}
SCSS
$custom: #cd4ff4;
$custom-light: #e08af8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4ff4",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 244
  },
  "hsl": {
    "h": 285.818,
    "s": 88.235,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66243,
    "c": 0.24828,
    "h": 317.1
  },
  "luminance": 0.25103
}

Semantic roles & 50–950 ramp

primary
#CD4FF4
secondary
#C0EDB2
accent
#E50137
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CD4FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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