#D474EF#D474EF

#D474EF is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.3% C 0.195 H 318.5°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#D474EF
RGBrgb(212, 116, 239)
HSLhsl(287, 79%, 70%)
HSVhsv(287, 51%, 94%)
CMYKcmyk(11.3%, 51.5%, 0%, 6.3%)
CIE-LABlab(63.93, 56.30, -46.61)
CIE-LCHlch(63.93, 73.09, 320.38°)
OKLaboklab(71.26% 0.1461 -0.1294)
OKLCHoklch(71.26% 0.195 318.5)
XYZxyz(48.9747, 32.7216, 85.3807)
Luminance0.3272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474EF #8FEF74
analogous
#9674EF #D474EF #EF74CD
triadic
#D474EF #EFD474 #74EFD4
tetradic
#D474EF #EF9674 #8FEF74 #74CDEF
square
#D474EF #EF9674 #8FEF74 #74CDEF
split-complementary
#D474EF #CDEF74 #74EF96
monochromatic
#A818D1 #C33DE9 #D474EF #E5ABF5 #F6E2FC

Accessibility & contrast

On white

2.78
#D474EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#D474EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474EF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474EF#FFFFFF#000000##000000
##D474EF1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C95F3
Deuteranopia (green-blind)
#7A9EEC
Tritanopia (blue-blind)
#D486A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d474ef;
/* rgb */ color: rgb(212, 116, 239);
/* oklch */ color: oklch(71.3% 0.195 318.5);
Tailwind
colors: {
  custom: {
    50: '#e49ff5',
    500: '#d474ef',
    950: '#000000',
  },
}
SCSS
$custom: #d474ef;
$custom-light: #e49ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#d474ef",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 239
  },
  "hsl": {
    "h": 286.829,
    "s": 79.355,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71262,
    "c": 0.19518,
    "h": 318.5
  },
  "luminance": 0.3272
}

Semantic roles & 50–950 ramp

primary
#D474EF
secondary
#D6F1CE
accent
#DC0A38
background
#FEFAFF
surface
#FCF3FE
border
#D5CDD6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D474EF

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

Preview Lab → · Contrast checker → · Palette generator →

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