#D478ED#D478ED

#D478ED is a light, vivid purple. Relative luminance 0.335; OKLCH L 71.7% C 0.187 H 318.7°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#D478ED
RGBrgb(212, 120, 237)
HSLhsl(287, 76%, 70%)
HSVhsv(287, 49%, 93%)
CMYKcmyk(10.5%, 49.4%, 0%, 7.1%)
CIE-LABlab(64.60, 53.92, -44.46)
CIE-LCHlch(64.60, 69.88, 320.49°)
OKLaboklab(71.72% 0.1405 -0.1232)
OKLCHoklch(71.72% 0.187 318.7)
XYZxyz(49.1519, 33.5462, 83.9903)
Luminance0.3354 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D478ED #91ED78
analogous
#9978ED #D478ED #ED78CC
triadic
#D478ED #EDD478 #78EDD4
tetradic
#D478ED #ED9978 #91ED78 #78CCED
square
#D478ED #ED9978 #91ED78 #78CCED
split-complementary
#D478ED #CCED78 #78ED99
monochromatic
#A91CCF #C342E6 #D478ED #E5AEF4 #F6E4FB

Accessibility & contrast

On white

2.72
#D478ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#D478ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D478ED
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D478ED#FFFFFF#000000##000000
##D478ED1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F1
Deuteranopia (green-blind)
#7EA0EA
Tritanopia (blue-blind)
#D489A8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d478ed;
/* rgb */ color: rgb(212, 120, 237);
/* oklch */ color: oklch(71.7% 0.187 318.7);
Tailwind
colors: {
  custom: {
    50: '#e3a2f3',
    500: '#d478ed',
    950: '#000000',
  },
}
SCSS
$custom: #d478ed;
$custom-light: #e3a2f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d478ed",
  "rgb": {
    "r": 212,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 287.179,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.71723,
    "c": 0.1869,
    "h": 318.7
  },
  "luminance": 0.33544
}

Semantic roles & 50–950 ramp

primary
#D478ED
secondary
#D7F1D0
accent
#D90D38
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D478ED

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

Preview Lab → · Contrast checker → · Palette generator →

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