#D474DF#D474DF

#D474DF is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.5% C 0.180 H 323.4°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#D474DF
RGBrgb(212, 116, 223)
HSLhsl(294, 63%, 66%)
HSVhsv(294, 48%, 87%)
CMYKcmyk(4.9%, 48%, 0%, 12.5%)
CIE-LABlab(63.19, 53.24, -38.89)
CIE-LCHlch(63.19, 65.93, 323.85°)
OKLaboklab(70.47% 0.144 -0.1072)
OKLCHoklch(70.47% 0.18 323.4)
XYZxyz(46.7147, 31.8177, 73.4785)
Luminance0.3182 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474DF #7FDF74
analogous
#9F74DF #D474DF #DF74B5
triadic
#D474DF #DFD474 #74DFD4
tetradic
#D474DF #DF9F74 #7FDF74 #74B5DF
square
#D474DF #DF9F74 #7FDF74 #74B5DF
split-complementary
#D474DF #B5DF74 #74DF9F
monochromatic
#A229B0 #C542D4 #D474DF #E3A6EA #F3D7F6

Accessibility & contrast

On white

2.85
#D474DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#D474DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474DF
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474DF#FFFFFF#000000##000000
##D474DF1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6692E3
Deuteranopia (green-blind)
#829DDC
Tritanopia (blue-blind)
#D7819F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d474df;
/* rgb */ color: rgb(212, 116, 223);
/* oklch */ color: oklch(70.5% 0.180 323.4);
Tailwind
colors: {
  custom: {
    50: '#e39fe9',
    500: '#d474df',
    950: '#000000',
  },
}
SCSS
$custom: #d474df;
$custom-light: #e39fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#d474df",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 223
  },
  "hsl": {
    "h": 293.832,
    "s": 62.573,
    "l": 66.471
  },
  "oklch": {
    "l": 0.7047,
    "c": 0.17952,
    "h": 323.4
  },
  "luminance": 0.31816
}

Semantic roles & 50–950 ramp

primary
#D474DF
secondary
#CAE9C6
accent
#CA1B2D
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D474DF

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

Preview Lab → · Contrast checker → · Palette generator →

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