#D474F2#D474F2

#D474F2 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.4% C 0.198 H 317.6°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D474F2
RGBrgb(212, 116, 242)
HSLhsl(286, 83%, 70%)
HSVhsv(286, 52%, 95%)
CMYKcmyk(12.4%, 52.1%, 0%, 5.1%)
CIE-LABlab(64.08, 56.89, -48.04)
CIE-LCHlch(64.08, 74.46, 319.82°)
OKLaboklab(71.42% 0.1464 -0.1336)
OKLCHoklch(71.42% 0.198 317.6)
XYZxyz(49.4215, 32.9004, 87.7343)
Luminance0.3290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474F2 #92F274
analogous
#9574F2 #D474F2 #F274D1
triadic
#D474F2 #F2D474 #74F2D4
tetradic
#D474F2 #F29574 #92F274 #74D1F2
square
#D474F2 #F29574 #92F274 #74D1F2
split-complementary
#D474F2 #D1F274 #74F295
monochromatic
#A914D7 #C33CED #D474F2 #E5ACF7 #F6E3FC

Accessibility & contrast

On white

2.77
#D474F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D474F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474F2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474F2#FFFFFF#000000##000000
##D474F21.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#799EEF
Tritanopia (blue-blind)
#D387A8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d474f2;
/* rgb */ color: rgb(212, 116, 242);
/* oklch */ color: oklch(71.4% 0.198 317.6);
Tailwind
colors: {
  custom: {
    50: '#e49ff7',
    500: '#d474f2',
    950: '#000000',
  },
}
SCSS
$custom: #d474f2;
$custom-light: #e49ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#d474f2",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 285.714,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71416,
    "c": 0.19818,
    "h": 317.6
  },
  "luminance": 0.32899
}

Semantic roles & 50–950 ramp

primary
#D474F2
secondary
#D8F2CF
accent
#DF063A
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D474F2

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

Preview Lab → · Contrast checker → · Palette generator →

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