#D678F2#D678F2

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

Color values

HEX#D678F2
RGBrgb(214, 120, 242)
HSLhsl(286, 82%, 71%)
HSVhsv(286, 50%, 95%)
CMYKcmyk(11.6%, 50.4%, 0%, 5.1%)
CIE-LABlab(65.07, 55.43, -46.45)
CIE-LCHlch(65.07, 72.33, 320.04°)
OKLaboklab(72.2% 0.1434 -0.129)
OKLCHoklch(72.2% 0.193 318)
XYZxyz(50.4728, 34.1417, 87.9185)
Luminance0.3414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D678F2 #94F278
analogous
#9978F2 #D678F2 #F278D1
triadic
#D678F2 #F2D678 #78F2D6
tetradic
#D678F2 #F29978 #94F278 #78D1F2
square
#D678F2 #F29978 #94F278 #78D1F2
split-complementary
#D678F2 #D1F278 #78F299
monochromatic
#AD15DB #C540ED #D678F2 #E7B0F7 #F7E3FC

Accessibility & contrast

On white

2.68
#D678F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#D678F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D678F2
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D678F2#FFFFFF#000000##000000
##D678F21.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d678f2;
/* rgb */ color: rgb(214, 120, 242);
/* oklch */ color: oklch(72.2% 0.193 318.0);
Tailwind
colors: {
  custom: {
    50: '#e5a2f7',
    500: '#d678f2',
    950: '#000000',
  },
}
SCSS
$custom: #d678f2;
$custom-light: #e5a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d678f2",
  "rgb": {
    "r": 214,
    "g": 120,
    "b": 242
  },
  "hsl": {
    "h": 286.23,
    "s": 82.432,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72202,
    "c": 0.19289,
    "h": 318
  },
  "luminance": 0.3414
}

Semantic roles & 50–950 ramp

primary
#D678F2
secondary
#DAF3D3
accent
#DF0738
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D678F2

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

Preview Lab → · Contrast checker → · Palette generator →

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