#CD4FE2#CD4FE2

#CD4FE2 is a light, highly saturated purple. Relative luminance 0.241; OKLCH L 65.2% C 0.233 H 321.7°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#CD4FE2
RGBrgb(205, 79, 226)
HSLhsl(291, 72%, 60%)
HSVhsv(291, 65%, 89%)
CMYKcmyk(9.3%, 65%, 0%, 11.4%)
CIE-LABlab(56.15, 68.92, -51.75)
CIE-LCHlch(56.15, 86.19, 323.10°)
OKLaboklab(65.18% 0.1825 -0.1443)
OKLCHoklch(65.18% 0.233 321.7)
XYZxyz(41.6988, 24.0643, 74.3852)
Luminance0.2406 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD4FE2 #64E24F
analogous
#844FE2 #CD4FE2 #E24FAD
triadic
#CD4FE2 #E2CD4F #4FE2CD
tetradic
#CD4FE2 #E2844F #64E24F #4FADE2
square
#CD4FE2 #E2844F #64E24F #4FADE2
split-complementary
#CD4FE2 #ADE24F #4FE284
monochromatic
#8A1A9D #B822D1 #CD4FE2 #DC84EB #EBB8F3

Accessibility & contrast

On white

3.61
#CD4FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#CD4FE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD4FE2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD4FE2#FFFFFF#000000##000000
##CD4FE21.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#267DE6
Deuteranopia (green-blind)
#608BDE
Tritanopia (blue-blind)
#CF6892
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cd4fe2;
/* rgb */ color: rgb(205, 79, 226);
/* oklch */ color: oklch(65.2% 0.233 321.7);
Tailwind
colors: {
  custom: {
    50: '#e089ec',
    500: '#cd4fe2',
    950: '#000000',
  },
}
SCSS
$custom: #cd4fe2;
$custom-light: #e089ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd4fe2",
  "rgb": {
    "r": 205,
    "g": 79,
    "b": 226
  },
  "hsl": {
    "h": 291.429,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.65177,
    "c": 0.23262,
    "h": 321.7
  },
  "luminance": 0.24062
}

Semantic roles & 50–950 ramp

primary
#CD4FE2
secondary
#B2E3AA
accent
#EE3953
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CD4FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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