#DA7FD8#DA7FD8

#DA7FD8 is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.5% C 0.158 H 327.8°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#DA7FD8
RGBrgb(218, 127, 216)
HSLhsl(301, 55%, 68%)
HSVhsv(301, 42%, 85%)
CMYKcmyk(0%, 41.7%, 0.9%, 14.5%)
CIE-LABlab(65.78, 48.12, -30.90)
CIE-LCHlch(65.78, 57.19, 327.30°)
OKLaboklab(72.46% 0.1341 -0.0843)
OKLCHoklch(72.46% 0.158 327.8)
XYZxyz(48.8966, 35.0444, 69.1411)
Luminance0.3504 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7FD8 #7FDA81
analogous
#AF7FDA #DA7FD8 #DA7FAA
triadic
#DA7FD8 #D8DA7F #7FD8DA
tetradic
#DA7FD8 #DAAF7F #7FDA81 #7FAADA
square
#DA7FD8 #DAAF7F #7FDA81 #7FAADA
split-complementary
#DA7FD8 #AADA7F #7FDAAF
monochromatic
#AD32AA #CC50CA #DA7FD8 #E8AEE6 #F5DEF5

Accessibility & contrast

On white

2.62
#DA7FD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#DA7FD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7FD8
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7FD8#FFFFFF#000000##000000
##DA7FD81.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7898DB
Deuteranopia (green-blind)
#91A4D5
Tritanopia (blue-blind)
#DF87A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #da7fd8;
/* rgb */ color: rgb(218, 127, 216);
/* oklch */ color: oklch(72.5% 0.158 327.8);
Tailwind
colors: {
  custom: {
    50: '#e7a6e4',
    500: '#da7fd8',
    950: '#000000',
  },
}
SCSS
$custom: #da7fd8;
$custom-light: #e7a6e4;
$custom-dark: #000000;
JSON
{
  "hex": "#da7fd8",
  "rgb": {
    "r": 218,
    "g": 127,
    "b": 216
  },
  "hsl": {
    "h": 301.319,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72459,
    "c": 0.15836,
    "h": 327.8
  },
  "luminance": 0.35042
}

Semantic roles & 50–950 ramp

primary
#DA7FD8
secondary
#CCE9CD
accent
#C32623
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#161015
muted
#847F83

Preview Lab

Preview with #DA7FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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