#CD2EF4#CD2EF4

#CD2EF4 is a light, highly saturated purple. Relative luminance 0.215; OKLCH L 63.6% C 0.280 H 318.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#CD2EF4
RGBrgb(205, 46, 244)
HSLhsl(288, 90%, 57%)
HSVhsv(288, 81%, 96%)
CMYKcmyk(16%, 81.1%, 0%, 4.3%)
CIE-LABlab(53.46, 82.90, -66.17)
CIE-LCHlch(53.46, 106.07, 321.40°)
OKLaboklab(63.61% 0.2095 -0.1863)
OKLCHoklch(63.61% 0.28 318.3)
XYZxyz(42.4807, 21.4668, 87.4763)
Luminance0.2147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD2EF4 #55F42E
analogous
#6A2EF4 #CD2EF4 #F42EB8
triadic
#CD2EF4 #F4CD2E #2EF4CD
tetradic
#CD2EF4 #F46A2E #55F42E #2EB8F4
square
#CD2EF4 #F46A2E #55F42E #2EB8F4
split-complementary
#CD2EF4 #B8F42E #2EF46A
monochromatic
#82089F #B10BD9 #CD2EF4 #DB68F7 #E9A2FA

Accessibility & contrast

On white

3.97
#CD2EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#CD2EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD2EF4
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD2EF4#FFFFFF#000000##000000
##CD2EF41.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F9
Deuteranopia (green-blind)
#3984F0
Tritanopia (blue-blind)
#CC5E94
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cd2ef4;
/* rgb */ color: rgb(205, 46, 244);
/* oklch */ color: oklch(63.6% 0.280 318.3);
Tailwind
colors: {
  custom: {
    50: '#e17cf9',
    500: '#cd2ef4',
    950: '#000000',
  },
}
SCSS
$custom: #cd2ef4;
$custom-light: #e17cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd2ef4",
  "rgb": {
    "r": 205,
    "g": 46,
    "b": 244
  },
  "hsl": {
    "h": 288.182,
    "s": 90,
    "l": 56.863
  },
  "oklch": {
    "l": 0.63605,
    "c": 0.28035,
    "h": 318.3
  },
  "luminance": 0.21465
}

Semantic roles & 50–950 ramp

primary
#CD2EF4
secondary
#A6E797
accent
#FF2953
background
#FEF8FF
surface
#FDEFFF
border
#D5CAD7
text
#160B17
muted
#847C85

Preview Lab

Preview with #CD2EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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