#D479F2#D479F2

#D479F2 is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.1% C 0.190 H 317.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#D479F2
RGBrgb(212, 121, 242)
HSLhsl(285, 82%, 71%)
HSVhsv(285, 50%, 95%)
CMYKcmyk(12.4%, 50%, 0%, 5.1%)
CIE-LABlab(65.03, 54.40, -46.54)
CIE-LCHlch(65.03, 71.59, 319.45°)
OKLaboklab(72.12% 0.1398 -0.1293)
OKLCHoklch(72.12% 0.19 317.2)
XYZxyz(50.0135, 34.0843, 87.9316)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D479F2 #97F279
analogous
#9779F2 #D479F2 #F279D3
triadic
#D479F2 #F2D479 #79F2D4
tetradic
#D479F2 #F29779 #97F279 #79D3F2
square
#D479F2 #F29779 #97F279 #79D3F2
split-complementary
#D479F2 #D3F279 #79F297
monochromatic
#AA15DB #C241ED #D479F2 #E6B1F7 #F6E3FC

Accessibility & contrast

On white

2.69
#D479F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#D479F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D479F2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D479F2#FFFFFF#000000##000000
##D479F21.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#7DA1EF
Tritanopia (blue-blind)
#D38BAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d479f2;
/* rgb */ color: rgb(212, 121, 242);
/* oklch */ color: oklch(72.1% 0.190 317.2);
Tailwind
colors: {
  custom: {
    50: '#e3a3f7',
    500: '#d479f2',
    950: '#000000',
  },
}
SCSS
$custom: #d479f2;
$custom-light: #e3a3f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d479f2",
  "rgb": {
    "r": 212,
    "g": 121,
    "b": 242
  },
  "hsl": {
    "h": 285.124,
    "s": 82.313,
    "l": 71.176
  },
  "oklch": {
    "l": 0.72117,
    "c": 0.19038,
    "h": 317.2
  },
  "luminance": 0.34083
}

Semantic roles & 50–950 ramp

primary
#D479F2
secondary
#DBF3D3
accent
#DF073C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D479F2

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

Preview Lab → · Contrast checker → · Palette generator →

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