#D474F7#D474F7

#D474F7 is a light, highly saturated purple. Relative luminance 0.332; OKLCH L 71.7% C 0.203 H 316.3°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#D474F7
RGBrgb(212, 116, 247)
HSLhsl(284, 89%, 71%)
HSVhsv(284, 53%, 97%)
CMYKcmyk(14.2%, 53%, 0%, 3.1%)
CIE-LABlab(64.33, 57.88, -50.41)
CIE-LCHlch(64.33, 76.76, 318.95°)
OKLaboklab(71.68% 0.1468 -0.1405)
OKLCHoklch(71.68% 0.203 316.3)
XYZxyz(50.1828, 33.2049, 91.7434)
Luminance0.3320 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474F7 #97F774
analogous
#9274F7 #D474F7 #F774D9
triadic
#D474F7 #F7D474 #74F7D4
tetradic
#D474F7 #F79274 #97F774 #74D9F7
square
#D474F7 #F79274 #97F774 #74D9F7
split-complementary
#D474F7 #D9F774 #74F792
monochromatic
#AA0DE4 #C23AF4 #D474F7 #E6AEFA #F6E2FD

Accessibility & contrast

On white

2.75
#D474F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#D474F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474F7
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474F7#FFFFFF#000000##000000
##D474F71.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FB
Deuteranopia (green-blind)
#769FF4
Tritanopia (blue-blind)
#D289AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d474f7;
/* rgb */ color: rgb(212, 116, 247);
/* oklch */ color: oklch(71.7% 0.203 316.3);
Tailwind
colors: {
  custom: {
    50: '#e49ffa',
    500: '#d474f7',
    950: '#000000',
  },
}
SCSS
$custom: #d474f7;
$custom-light: #e49ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#d474f7",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 247
  },
  "hsl": {
    "h": 283.969,
    "s": 89.116,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71678,
    "c": 0.20319,
    "h": 316.3
  },
  "luminance": 0.33203
}

Semantic roles & 50–950 ramp

primary
#D474F7
secondary
#DBF5D2
accent
#E6003D
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D474F7

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

Preview Lab → · Contrast checker → · Palette generator →

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