#D475EF#D475EF

#D475EF is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.4% C 0.194 H 318.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#D475EF
RGBrgb(212, 117, 239)
HSLhsl(287, 79%, 70%)
HSVhsv(287, 51%, 94%)
CMYKcmyk(11.3%, 51%, 0%, 6.3%)
CIE-LABlab(64.12, 55.81, -46.31)
CIE-LCHlch(64.12, 72.52, 320.31°)
OKLaboklab(71.4% 0.1448 -0.1286)
OKLCHoklch(71.4% 0.194 318.4)
XYZxyz(49.0905, 32.9534, 85.4194)
Luminance0.3295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D475EF #90EF75
analogous
#9775EF #D475EF #EF75CD
triadic
#D475EF #EFD475 #75EFD4
tetradic
#D475EF #EF9775 #90EF75 #75CDEF
square
#D475EF #EF9775 #90EF75 #75CDEF
split-complementary
#D475EF #CDEF75 #75EF97
monochromatic
#A818D1 #C33EE9 #D475EF #E5ACF5 #F6E3FC

Accessibility & contrast

On white

2.77
#D475EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#D475EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D475EF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D475EF#FFFFFF#000000##000000
##D475EF1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D95F3
Deuteranopia (green-blind)
#7B9FEC
Tritanopia (blue-blind)
#D487A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d475ef;
/* rgb */ color: rgb(212, 117, 239);
/* oklch */ color: oklch(71.4% 0.194 318.4);
Tailwind
colors: {
  custom: {
    50: '#e3a0f5',
    500: '#d475ef',
    950: '#000000',
  },
}
SCSS
$custom: #d475ef;
$custom-light: #e3a0f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d475ef",
  "rgb": {
    "r": 212,
    "g": 117,
    "b": 239
  },
  "hsl": {
    "h": 286.721,
    "s": 79.221,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71401,
    "c": 0.19362,
    "h": 318.4
  },
  "luminance": 0.32952
}

Semantic roles & 50–950 ramp

primary
#D475EF
secondary
#D6F1CF
accent
#DC0A38
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D475EF

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

Preview Lab → · Contrast checker → · Palette generator →

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