#DA7FDC#DA7FDC

#DA7FDC is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.6% C 0.162 H 326.3°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#DA7FDC
RGBrgb(218, 127, 220)
HSLhsl(299, 57%, 68%)
HSVhsv(299, 42%, 86%)
CMYKcmyk(0.9%, 42.3%, 0%, 13.7%)
CIE-LABlab(65.95, 48.85, -32.87)
CIE-LCHlch(65.95, 58.88, 326.06°)
OKLaboklab(72.63% 0.1349 -0.0899)
OKLCHoklch(72.63% 0.162 326.3)
XYZxyz(49.4201, 35.2538, 71.8978)
Luminance0.3525 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7FDC #81DC7F
analogous
#AB7FDC #DA7FDC #DC7FAF
triadic
#DA7FDC #DCDA7F #7FDCDA
tetradic
#DA7FDC #DCAB7F #81DC7F #7FAFDC
square
#DA7FDC #DCAB7F #81DC7F #7FAFDC
split-complementary
#DA7FDC #AFDC7F #7FDCAB
monochromatic
#AE30B0 #CC4FCF #DA7FDC #E8AFE9 #F6DFF6

Accessibility & contrast

On white

2.61
#DA7FDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#DA7FDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7FDC
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7FDC#FFFFFF#000000##000000
##DA7FDC1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DF
Deuteranopia (green-blind)
#90A4D9
Tritanopia (blue-blind)
#DF89A3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #da7fdc;
/* rgb */ color: rgb(218, 127, 220);
/* oklch */ color: oklch(72.6% 0.162 326.3);
Tailwind
colors: {
  custom: {
    50: '#e7a6e7',
    500: '#da7fdc',
    950: '#000000',
  },
}
SCSS
$custom: #da7fdc;
$custom-light: #e7a6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#da7fdc",
  "rgb": {
    "r": 218,
    "g": 127,
    "b": 220
  },
  "hsl": {
    "h": 298.71,
    "s": 57.055,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72633,
    "c": 0.1621,
    "h": 326.3
  },
  "luminance": 0.35251
}

Semantic roles & 50–950 ramp

primary
#DA7FDC
secondary
#CEEACD
accent
#C52124
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DA7FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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