#D475F6#D475F6

#D475F6 is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 71.8% C 0.201 H 316.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D475F6
RGBrgb(212, 117, 246)
HSLhsl(284, 88%, 71%)
HSVhsv(284, 52%, 96%)
CMYKcmyk(13.8%, 52.4%, 0%, 3.5%)
CIE-LABlab(64.46, 57.19, -49.64)
CIE-LCHlch(64.46, 75.73, 319.04°)
OKLaboklab(71.76% 0.1454 -0.1383)
OKLCHoklch(71.76% 0.201 316.5)
XYZxyz(50.1447, 33.3751, 90.9715)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D475F6 #97F675
analogous
#9375F6 #D475F6 #F675D7
triadic
#D475F6 #F6D475 #75F6D4
tetradic
#D475F6 #F69375 #97F675 #75D7F6
square
#D475F6 #F69375 #97F675 #75D7F6
split-complementary
#D475F6 #D7F675 #75F693
monochromatic
#AA0FE2 #C23CF2 #D475F6 #E6AEFA #F6E2FD

Accessibility & contrast

On white

2.74
#D475F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#D475F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D475F6
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D475F6#FFFFFF#000000##000000
##D475F61.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5896FA
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#D389AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d475f6;
/* rgb */ color: rgb(212, 117, 246);
/* oklch */ color: oklch(71.8% 0.201 316.5);
Tailwind
colors: {
  custom: {
    50: '#e4a0f9',
    500: '#d475f6',
    950: '#000000',
  },
}
SCSS
$custom: #d475f6;
$custom-light: #e4a0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d475f6",
  "rgb": {
    "r": 212,
    "g": 117,
    "b": 246
  },
  "hsl": {
    "h": 284.186,
    "s": 87.755,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71762,
    "c": 0.20066,
    "h": 316.5
  },
  "luminance": 0.33373
}

Semantic roles & 50–950 ramp

primary
#D475F6
secondary
#DBF4D2
accent
#E4013D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D475F6

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

Preview Lab → · Contrast checker → · Palette generator →

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