#D279EB#D279EB

#D279EB is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.5% C 0.182 H 318.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D279EB
RGBrgb(210, 121, 235)
HSLhsl(287, 74%, 70%)
HSVhsv(287, 49%, 92%)
CMYKcmyk(10.6%, 48.5%, 0%, 7.8%)
CIE-LABlab(64.46, 52.47, -43.58)
CIE-LCHlch(64.46, 68.21, 320.29°)
OKLaboklab(71.54% 0.1366 -0.1208)
OKLCHoklch(71.54% 0.182 318.5)
XYZxyz(48.4091, 33.3762, 82.4734)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D279EB #92EB79
analogous
#9979EB #D279EB #EB79CB
triadic
#D279EB #EBD279 #79EBD2
tetradic
#D279EB #EB9979 #92EB79 #79CBEB
square
#D279EB #EB9979 #92EB79 #79CBEB
split-complementary
#D279EB #CBEB79 #79EB99
monochromatic
#A51ECB #C044E3 #D279EB #E4AEF3 #F6E4FB

Accessibility & contrast

On white

2.74
#D279EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#D279EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D279EB
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D279EB#FFFFFF#000000##000000
##D279EB1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596EF
Deuteranopia (green-blind)
#7F9FE8
Tritanopia (blue-blind)
#D289A7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d279eb;
/* rgb */ color: rgb(210, 121, 235);
/* oklch */ color: oklch(71.5% 0.182 318.5);
Tailwind
colors: {
  custom: {
    50: '#e2a2f2',
    500: '#d279eb',
    950: '#000000',
  },
}
SCSS
$custom: #d279eb;
$custom-light: #e2a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d279eb",
  "rgb": {
    "r": 210,
    "g": 121,
    "b": 235
  },
  "hsl": {
    "h": 286.842,
    "s": 74.026,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7154,
    "c": 0.18231,
    "h": 318.5
  },
  "luminance": 0.33375
}

Semantic roles & 50–950 ramp

primary
#D279EB
secondary
#D7F0D0
accent
#D60F3B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D279EB

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

Preview Lab → · Contrast checker → · Palette generator →

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