#D479FB#D479FB

#D479FB is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.6% C 0.200 H 314.8°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#D479FB
RGBrgb(212, 121, 251)
HSLhsl(282, 94%, 73%)
HSVhsv(282, 52%, 98%)
CMYKcmyk(15.5%, 51.8%, 0%, 1.6%)
CIE-LABlab(65.47, 56.21, -50.80)
CIE-LCHlch(65.47, 75.77, 317.89°)
OKLaboklab(72.58% 0.1407 -0.1416)
OKLCHoklch(72.58% 0.2 314.8)
XYZxyz(51.3986, 34.6383, 95.2264)
Luminance0.3464 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D479FB #A0FB79
analogous
#9379FB #D479FB #FB79E1
triadic
#D479FB #FBD479 #79FBD4
tetradic
#D479FB #FB9379 #A0FB79 #79E1FB
square
#D479FB #FB9379 #A0FB79 #79E1FB
split-complementary
#D479FB #E1FB79 #79FB93
monochromatic
#AC07F2 #C13EF9 #D479FB #E7B4FD #F5E1FE

Accessibility & contrast

On white

2.65
#D479FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#D479FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D479FB
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D479FB#FFFFFF#000000##000000
##D479FB1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9AFF
Deuteranopia (green-blind)
#78A1F8
Tritanopia (blue-blind)
#D18EAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d479fb;
/* rgb */ color: rgb(212, 121, 251);
/* oklch */ color: oklch(72.6% 0.200 314.8);
Tailwind
colors: {
  custom: {
    50: '#e4a3fd',
    500: '#d479fb',
    950: '#000000',
  },
}
SCSS
$custom: #d479fb;
$custom-light: #e4a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d479fb",
  "rgb": {
    "r": 212,
    "g": 121,
    "b": 251
  },
  "hsl": {
    "h": 282,
    "s": 94.203,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72582,
    "c": 0.19964,
    "h": 314.8
  },
  "luminance": 0.34637
}

Semantic roles & 50–950 ramp

primary
#D479FB
secondary
#DFF6D5
accent
#E60045
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D479FB

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

Preview Lab → · Contrast checker → · Palette generator →

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