#D279EF#D279EF

#D279EF is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.7% C 0.186 H 317.3°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#D279EF
RGBrgb(210, 121, 239)
HSLhsl(285, 79%, 71%)
HSVhsv(285, 49%, 94%)
CMYKcmyk(12.1%, 49.4%, 0%, 6.3%)
CIE-LABlab(64.65, 53.26, -45.50)
CIE-LCHlch(64.65, 70.05, 319.50°)
OKLaboklab(71.74% 0.1371 -0.1263)
OKLCHoklch(71.74% 0.186 317.3)
XYZxyz(48.9935, 33.6100, 85.5512)
Luminance0.3361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D279EF #96EF79
analogous
#9779EF #D279EF #EF79D1
triadic
#D279EF #EFD279 #79EFD2
tetradic
#D279EF #EF9779 #96EF79 #79D1EF
square
#D279EF #EF9779 #96EF79 #79D1EF
split-complementary
#D279EF #D1EF79 #79EF97
monochromatic
#A619D4 #C042E8 #D279EF #E4B0F6 #F6E4FC

Accessibility & contrast

On white

2.72
#D279EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#D279EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D279EF
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D279EF#FFFFFF#000000##000000
##D279EF1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F3
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#D18AA9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d279ef;
/* rgb */ color: rgb(210, 121, 239);
/* oklch */ color: oklch(71.7% 0.186 317.3);
Tailwind
colors: {
  custom: {
    50: '#e2a2f4',
    500: '#d279ef',
    950: '#000000',
  },
}
SCSS
$custom: #d279ef;
$custom-light: #e2a2f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d279ef",
  "rgb": {
    "r": 210,
    "g": 121,
    "b": 239
  },
  "hsl": {
    "h": 285.254,
    "s": 78.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7174,
    "c": 0.18639,
    "h": 317.3
  },
  "luminance": 0.33608
}

Semantic roles & 50–950 ramp

primary
#D279EF
secondary
#DAF2D2
accent
#DB0B3E
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D279EF

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

Preview Lab → · Contrast checker → · Palette generator →

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