#D475EC#D475EC

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

Color values

HEX#D475EC
RGBrgb(212, 117, 236)
HSLhsl(288, 76%, 69%)
HSVhsv(288, 50%, 93%)
CMYKcmyk(10.2%, 50.4%, 0%, 7.5%)
CIE-LABlab(63.98, 55.22, -44.88)
CIE-LCHlch(63.98, 71.16, 320.90°)
OKLaboklab(71.25% 0.1444 -0.1244)
OKLCHoklch(71.25% 0.191 319.2)
XYZxyz(48.6510, 32.7776, 83.1046)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D475EC #8DEC75
analogous
#9975EC #D475EC #EC75C9
triadic
#D475EC #ECD475 #75ECD4
tetradic
#D475EC #EC9975 #8DEC75 #75C9EC
square
#D475EC #EC9975 #8DEC75 #75C9EC
split-complementary
#D475EC #C9EC75 #75EC99
monochromatic
#A71CCB #C33FE5 #D475EC #E5ABF3 #F6E1FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D475EC#FFFFFF#000000##000000
##D475EC1.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)
#5F95F0
Deuteranopia (green-blind)
#7D9EE9
Tritanopia (blue-blind)
#D586A6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d475ec;
/* rgb */ color: rgb(212, 117, 236);
/* oklch */ color: oklch(71.2% 0.191 319.2);
Tailwind
colors: {
  custom: {
    50: '#e3a0f2',
    500: '#d475ec',
    950: '#000000',
  },
}
SCSS
$custom: #d475ec;
$custom-light: #e3a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d475ec",
  "rgb": {
    "r": 212,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 287.899,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71249,
    "c": 0.19063,
    "h": 319.2
  },
  "luminance": 0.32776
}

Semantic roles & 50–950 ramp

primary
#D475EC
secondary
#D4F0CD
accent
#D80E36
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D475EC

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

Preview Lab → · Contrast checker → · Palette generator →

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