#D279F7#D279F7

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

Color values

HEX#D279F7
RGBrgb(210, 121, 247)
HSLhsl(282, 89%, 72%)
HSVhsv(282, 51%, 97%)
CMYKcmyk(15%, 51%, 0%, 3.1%)
CIE-LABlab(65.04, 54.87, -49.30)
CIE-LCHlch(65.04, 73.77, 318.06°)
OKLaboklab(72.15% 0.138 -0.1373)
OKLCHoklch(72.15% 0.195 315.1)
XYZxyz(50.2016, 34.0932, 91.9138)
Luminance0.3409 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D279F7 #9EF779
analogous
#9379F7 #D279F7 #F779DD
triadic
#D279F7 #F7D279 #79F7D2
tetradic
#D279F7 #F79379 #9EF779 #79DDF7
square
#D279F7 #F79379 #9EF779 #79DDF7
split-complementary
#D279F7 #DDF779 #79F793
monochromatic
#A80EE8 #BF3FF4 #D279F7 #E5B3FA #F5E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D279F7#FFFFFF#000000##000000
##D279F71.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)
#5D99FB
Deuteranopia (green-blind)
#78A0F4
Tritanopia (blue-blind)
#D08DAD
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d279f7;
/* rgb */ color: rgb(210, 121, 247);
/* oklch */ color: oklch(72.2% 0.195 315.1);
Tailwind
colors: {
  custom: {
    50: '#e2a2fa',
    500: '#d279f7',
    950: '#000000',
  },
}
SCSS
$custom: #d279f7;
$custom-light: #e2a2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d279f7",
  "rgb": {
    "r": 210,
    "g": 121,
    "b": 247
  },
  "hsl": {
    "h": 282.381,
    "s": 88.732,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7215,
    "c": 0.19466,
    "h": 315.1
  },
  "luminance": 0.34092
}

Semantic roles & 50–950 ramp

primary
#D279F7
secondary
#DFF5D6
accent
#E50043
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D279F7

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

Preview Lab → · Contrast checker → · Palette generator →

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