#D24FF2#D24FF2

#D24FF2 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.8% C 0.248 H 319.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#D24FF2
RGBrgb(210, 79, 242)
HSLhsl(288, 86%, 63%)
HSVhsv(288, 67%, 95%)
CMYKcmyk(13.2%, 67.4%, 0%, 5.1%)
CIE-LABlab(57.76, 72.93, -58.10)
CIE-LCHlch(57.76, 93.24, 321.45°)
OKLaboklab(66.76% 0.1878 -0.1627)
OKLCHoklch(66.76% 0.248 319.1)
XYZxyz(45.3992, 25.7065, 86.5577)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D24FF2 #6FF24F
analogous
#804FF2 #D24FF2 #F24FC0
triadic
#D24FF2 #F2D24F #4FF2D2
tetradic
#D24FF2 #F2804F #6FF24F #4FC0F2
square
#D24FF2 #F2804F #6FF24F #4FC0F2
split-complementary
#D24FF2 #C0F24F #4FF280
monochromatic
#970EB9 #C316EE #D24FF2 #E188F6 #EFC1FA

Accessibility & contrast

On white

3.42
#D24FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#D24FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D24FF2
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D24FF2#FFFFFF#000000##000000
##D24FF21.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#5A8FEE
Tritanopia (blue-blind)
#D26D9B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d24ff2;
/* rgb */ color: rgb(210, 79, 242);
/* oklch */ color: oklch(66.8% 0.248 319.1);
Tailwind
colors: {
  custom: {
    50: '#e48af7',
    500: '#d24ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d24ff2;
$custom-light: #e48af7;
$custom-dark: #000000;
JSON
{
  "hex": "#d24ff2",
  "rgb": {
    "r": 210,
    "g": 79,
    "b": 242
  },
  "hsl": {
    "h": 288.221,
    "s": 86.243,
    "l": 62.941
  },
  "oklch": {
    "l": 0.66763,
    "c": 0.24849,
    "h": 319.1
  },
  "luminance": 0.25704
}

Semantic roles & 50–950 ramp

primary
#D24FF2
secondary
#BDECB1
accent
#E3032F
background
#FEF8FF
surface
#FDF0FF
border
#D5CBD7
text
#160D17
muted
#847D85

Preview Lab

Preview with #D24FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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