#CD4FE1#CD4FE1

#CD4FE1 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.1% C 0.232 H 321.9°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#CD4FE1
RGBrgb(205, 79, 225)
HSLhsl(292, 71%, 60%)
HSVhsv(292, 65%, 88%)
CMYKcmyk(8.9%, 64.9%, 0%, 11.8%)
CIE-LABlab(56.10, 68.75, -51.27)
CIE-LCHlch(56.10, 85.76, 323.28°)
OKLaboklab(65.12% 0.1825 -0.1429)
OKLCHoklch(65.12% 0.232 321.9)
XYZxyz(41.5620, 24.0095, 73.6647)
Luminance0.2401 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FE1 #63E14F
analogous
#844FE1 #CD4FE1 #E14FAC
triadic
#CD4FE1 #E1CD4F #4FE1CD
tetradic
#CD4FE1 #E1844F #63E14F #4FACE1
square
#CD4FE1 #E1844F #63E14F #4FACE1
split-complementary
#CD4FE1 #ACE14F #4FE184
monochromatic
#8A1A9B #B823CF #CD4FE1 #DC83EA #EBB8F3

Accessibility & contrast

On white

3.62
#CD4FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#CD4FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FE1
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FE1#FFFFFF#000000##000000
##CD4FE11.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#287DE5
Deuteranopia (green-blind)
#618BDD
Tritanopia (blue-blind)
#CF6792
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cd4fe1;
/* rgb */ color: rgb(205, 79, 225);
/* oklch */ color: oklch(65.1% 0.232 321.9);
Tailwind
colors: {
  custom: {
    50: '#e089eb',
    500: '#cd4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fe1;
$custom-light: #e089eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fe1",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 291.781,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.6512,
    "c": 0.23177,
    "h": 321.9
  },
  "luminance": 0.24007
}

Semantic roles & 50–950 ramp

primary
#CD4FE1
secondary
#B1E2AA
accent
#EE3A53
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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