#D474F0#D474F0

#D474F0 is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.3% C 0.196 H 318.2°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#D474F0
RGBrgb(212, 116, 240)
HSLhsl(286, 81%, 70%)
HSVhsv(286, 52%, 94%)
CMYKcmyk(11.7%, 51.7%, 0%, 5.9%)
CIE-LABlab(63.98, 56.50, -47.09)
CIE-LCHlch(63.98, 73.55, 320.19°)
OKLaboklab(71.31% 0.1462 -0.1308)
OKLCHoklch(71.31% 0.196 318.2)
XYZxyz(49.1228, 32.7809, 86.1609)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474F0 #90F074
analogous
#9674F0 #D474F0 #F074CE
triadic
#D474F0 #F0D474 #74F0D4
tetradic
#D474F0 #F09674 #90F074 #74CEF0
square
#D474F0 #F09674 #90F074 #74CEF0
split-complementary
#D474F0 #CEF074 #74F096
monochromatic
#A817D3 #C33DEA #D474F0 #E5ABF6 #F6E2FC

Accessibility & contrast

On white

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

On black

7.56
#D474F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474F0
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474F0#FFFFFF#000000##000000
##D474F01.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d474f0;
/* rgb */ color: rgb(212, 116, 240);
/* oklch */ color: oklch(71.3% 0.196 318.2);
Tailwind
colors: {
  custom: {
    50: '#e49ff5',
    500: '#d474f0',
    950: '#000000',
  },
}
SCSS
$custom: #d474f0;
$custom-light: #e49ff5;
$custom-dark: #000000;
JSON
{
  "hex": "#d474f0",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 240
  },
  "hsl": {
    "h": 286.452,
    "s": 80.519,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71313,
    "c": 0.19618,
    "h": 318.2
  },
  "luminance": 0.32779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D474F0

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

Preview Lab → · Contrast checker → · Palette generator →

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