#D475F8#D475F8

#D475F8 is a light, highly saturated purple. Relative luminance 0.335; OKLCH L 71.9% C 0.203 H 315.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#D475F8
RGBrgb(212, 117, 248)
HSLhsl(284, 90%, 72%)
HSVhsv(284, 53%, 97%)
CMYKcmyk(14.5%, 52.8%, 0%, 2.7%)
CIE-LABlab(64.56, 57.59, -50.58)
CIE-LCHlch(64.56, 76.65, 318.71°)
OKLaboklab(71.87% 0.1456 -0.141)
OKLCHoklch(71.87% 0.203 315.9)
XYZxyz(50.4534, 33.4985, 92.5969)
Luminance0.3350 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D475F8 #99F875
analogous
#9375F8 #D475F8 #F875DB
triadic
#D475F8 #F8D475 #75F8D4
tetradic
#D475F8 #F89375 #99F875 #75DBF8
square
#D475F8 #F89375 #99F875 #75DBF8
split-complementary
#D475F8 #DBF875 #75F893
monochromatic
#AB0CE7 #C23BF5 #D475F8 #E6AFFB #F6E2FE

Accessibility & contrast

On white

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

On black

7.70
#D475F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D475F8
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D475F8#FFFFFF#000000##000000
##D475F81.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FC
Deuteranopia (green-blind)
#769FF5
Tritanopia (blue-blind)
#D28AAC
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d475f8;
/* rgb */ color: rgb(212, 117, 248);
/* oklch */ color: oklch(71.9% 0.203 315.9);
Tailwind
colors: {
  custom: {
    50: '#e4a0fb',
    500: '#d475f8',
    950: '#000000',
  },
}
SCSS
$custom: #d475f8;
$custom-light: #e4a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d475f8",
  "rgb": {
    "r": 212,
    "g": 117,
    "b": 248
  },
  "hsl": {
    "h": 283.511,
    "s": 90.345,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71868,
    "c": 0.20268,
    "h": 315.9
  },
  "luminance": 0.33497
}

Semantic roles & 50–950 ramp

primary
#D475F8
secondary
#DDF5D4
accent
#E6003F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D475F8

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

Preview Lab → · Contrast checker → · Palette generator →

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