#D279FC#D279FC

#D279FC is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.4% C 0.200 H 313.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#D279FC
RGBrgb(210, 121, 252)
HSLhsl(281, 96%, 73%)
HSVhsv(281, 52%, 99%)
CMYKcmyk(16.7%, 52%, 0%, 1.2%)
CIE-LABlab(65.28, 55.90, -51.66)
CIE-LCHlch(65.28, 76.11, 317.26°)
OKLaboklab(72.41% 0.1384 -0.1442)
OKLCHoklch(72.41% 0.2 313.8)
XYZxyz(50.9835, 34.4060, 96.0319)
Luminance0.3441 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D279FC #A3FC79
analogous
#9079FC #D279FC #FC79E5
triadic
#D279FC #FCD279 #79FCD2
tetradic
#D279FC #FC9079 #A3FC79 #79E5FC
square
#D279FC #FC9079 #A3FC79 #79E5FC
split-complementary
#D279FC #E5FC79 #79FC90
monochromatic
#A805F5 #BE3DFB #D279FC #E6B5FD #F5E1FE

Accessibility & contrast

On white

2.66
#D279FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#D279FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D279FC
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D279FC#FFFFFF#000000##000000
##D279FC1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5999FF
Deuteranopia (green-blind)
#75A1F9
Tritanopia (blue-blind)
#CE8EAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d279fc;
/* rgb */ color: rgb(210, 121, 252);
/* oklch */ color: oklch(72.4% 0.200 313.8);
Tailwind
colors: {
  custom: {
    50: '#e2a3fe',
    500: '#d279fc',
    950: '#000000',
  },
}
SCSS
$custom: #d279fc;
$custom-light: #e2a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d279fc",
  "rgb": {
    "r": 210,
    "g": 121,
    "b": 252
  },
  "hsl": {
    "h": 280.763,
    "s": 95.62,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72413,
    "c": 0.19987,
    "h": 313.8
  },
  "luminance": 0.34405
}

Semantic roles & 50–950 ramp

primary
#D279FC
secondary
#DFF7D4
accent
#E6004A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D279FC

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

Preview Lab → · Contrast checker → · Palette generator →

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