#D475F7#D475F7

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

Color values

HEX#D475F7
RGBrgb(212, 117, 247)
HSLhsl(284, 89%, 71%)
HSVhsv(284, 53%, 97%)
CMYKcmyk(14.2%, 52.6%, 0%, 3.1%)
CIE-LABlab(64.51, 57.39, -50.11)
CIE-LCHlch(64.51, 76.19, 318.87°)
OKLaboklab(71.82% 0.1455 -0.1396)
OKLCHoklch(71.82% 0.202 316.2)
XYZxyz(50.2986, 33.4367, 91.7820)
Luminance0.3343 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D475F7 #98F775
analogous
#9375F7 #D475F7 #F775D9
triadic
#D475F7 #F7D475 #75F7D4
tetradic
#D475F7 #F79375 #98F775 #75D9F7
square
#D475F7 #F79375 #98F775 #75D9F7
split-complementary
#D475F7 #D9F775 #75F793
monochromatic
#AA0DE4 #C23BF4 #D475F7 #E6AFFA #F6E2FD

Accessibility & contrast

On white

2.73
#D475F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#D475F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D475F7
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D475F7#FFFFFF#000000##000000
##D475F71.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FB
Deuteranopia (green-blind)
#779FF4
Tritanopia (blue-blind)
#D289AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d475f7;
/* rgb */ color: rgb(212, 117, 247);
/* oklch */ color: oklch(71.8% 0.202 316.2);
Tailwind
colors: {
  custom: {
    50: '#e4a0fa',
    500: '#d475f7',
    950: '#000000',
  },
}
SCSS
$custom: #d475f7;
$custom-light: #e4a0fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d475f7",
  "rgb": {
    "r": 212,
    "g": 117,
    "b": 247
  },
  "hsl": {
    "h": 283.846,
    "s": 89.041,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71815,
    "c": 0.20167,
    "h": 316.2
  },
  "luminance": 0.33435
}

Semantic roles & 50–950 ramp

primary
#D475F7
secondary
#DCF5D3
accent
#E6003E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D475F7

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

Preview Lab → · Contrast checker → · Palette generator →

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