#D474E2#D474E2

#D474E2 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.6% C 0.182 H 322.4°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#D474E2
RGBrgb(212, 116, 226)
HSLhsl(292, 65%, 67%)
HSVhsv(292, 49%, 89%)
CMYKcmyk(6.2%, 48.7%, 0%, 11.4%)
CIE-LABlab(63.33, 53.80, -40.35)
CIE-LCHlch(63.33, 67.25, 323.13°)
OKLaboklab(70.61% 0.1445 -0.1114)
OKLCHoklch(70.61% 0.182 322.4)
XYZxyz(47.1228, 31.9809, 75.6275)
Luminance0.3198 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D474E2 #82E274
analogous
#9D74E2 #D474E2 #E274B9
triadic
#D474E2 #E2D474 #74E2D4
tetradic
#D474E2 #E29D74 #82E274 #74B9E2
square
#D474E2 #E29D74 #82E274 #74B9E2
split-complementary
#D474E2 #B9E274 #74E29D
monochromatic
#A326B6 #C441D7 #D474E2 #E4A7ED #F3D9F7

Accessibility & contrast

On white

2.84
#D474E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#D474E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D474E2
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D474E2#FFFFFF#000000##000000
##D474E21.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6492E6
Deuteranopia (green-blind)
#819DDF
Tritanopia (blue-blind)
#D782A1
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #d474e2;
/* rgb */ color: rgb(212, 116, 226);
/* oklch */ color: oklch(70.6% 0.182 322.4);
Tailwind
colors: {
  custom: {
    50: '#e39feb',
    500: '#d474e2',
    950: '#000000',
  },
}
SCSS
$custom: #d474e2;
$custom-light: #e39feb;
$custom-dark: #000000;
JSON
{
  "hex": "#d474e2",
  "rgb": {
    "r": 212,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 292.364,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70614,
    "c": 0.18241,
    "h": 322.4
  },
  "luminance": 0.31979
}

Semantic roles & 50–950 ramp

primary
#D474E2
secondary
#CCEAC7
accent
#CD182F
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D474E2

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

Preview Lab → · Contrast checker → · Palette generator →

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