#D682F2#D682F2

#D682F2 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.7% C 0.177 H 317.2°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#D682F2
RGBrgb(214, 130, 242)
HSLhsl(285, 81%, 73%)
HSVhsv(285, 46%, 95%)
CMYKcmyk(11.6%, 46.3%, 0%, 5.1%)
CIE-LABlab(67.03, 50.36, -43.38)
CIE-LCHlch(67.03, 66.47, 319.26°)
OKLaboklab(73.65% 0.1299 -0.1201)
OKLCHoklch(73.65% 0.177 317.2)
XYZxyz(51.7389, 36.6738, 88.3405)
Luminance0.3667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D682F2 #9EF282
analogous
#9E82F2 #D682F2 #F282D6
triadic
#D682F2 #F2D682 #82F2D6
tetradic
#D682F2 #F29E82 #9EF282 #82D6F2
square
#D682F2 #F29E82 #9EF282 #82D6F2
split-complementary
#D682F2 #D6F282 #82F29E
monochromatic
#AF18E2 #C44BEC #D682F2 #E8B9F8 #F6E3FC

Accessibility & contrast

On white

2.52
#D682F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#D682F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D682F2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D682F2#FFFFFF#000000##000000
##D682F21.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#86A6EF
Tritanopia (blue-blind)
#D592AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #d682f2;
/* rgb */ color: rgb(214, 130, 242);
/* oklch */ color: oklch(73.7% 0.177 317.2);
Tailwind
colors: {
  custom: {
    50: '#e4a8f7',
    500: '#d682f2',
    950: '#000000',
  },
}
SCSS
$custom: #d682f2;
$custom-light: #e4a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d682f2",
  "rgb": {
    "r": 214,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 285,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73653,
    "c": 0.17693,
    "h": 317.2
  },
  "luminance": 0.36672
}

Semantic roles & 50–950 ramp

primary
#D682F2
secondary
#DEF4D7
accent
#DE083D
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D682F2

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

Preview Lab → · Contrast checker → · Palette generator →

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