#DA7FDB#DA7FDB

#DA7FDB is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.6% C 0.161 H 326.7°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#DA7FDB
RGBrgb(218, 127, 219)
HSLhsl(299, 56%, 68%)
HSVhsv(299, 42%, 86%)
CMYKcmyk(0.5%, 42%, 0%, 14.1%)
CIE-LABlab(65.90, 48.66, -32.38)
CIE-LCHlch(65.90, 58.45, 326.36°)
OKLaboklab(72.59% 0.1347 -0.0885)
OKLCHoklch(72.59% 0.161 326.7)
XYZxyz(49.2880, 35.2010, 71.2024)
Luminance0.3520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA7FDB #80DB7F
analogous
#AC7FDB #DA7FDB #DB7FAE
triadic
#DA7FDB #DBDA7F #7FDBDA
tetradic
#DA7FDB #DBAC7F #80DB7F #7FAEDB
square
#DA7FDB #DBAC7F #80DB7F #7FAEDB
split-complementary
#DA7FDB #AEDB7F #7FDBAC
monochromatic
#AD31AF #CC4FCE #DA7FDB #E8AFE8 #F6DFF6

Accessibility & contrast

On white

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

On black

8.04
#DA7FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA7FDB
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA7FDB#FFFFFF#000000##000000
##DA7FDB1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7799DE
Deuteranopia (green-blind)
#90A4D8
Tritanopia (blue-blind)
#DF88A3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #da7fdb;
/* rgb */ color: rgb(218, 127, 219);
/* oklch */ color: oklch(72.6% 0.161 326.7);
Tailwind
colors: {
  custom: {
    50: '#e7a6e6',
    500: '#da7fdb',
    950: '#000000',
  },
}
SCSS
$custom: #da7fdb;
$custom-light: #e7a6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#da7fdb",
  "rgb": {
    "r": 218,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 299.348,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72589,
    "c": 0.16116,
    "h": 326.7
  },
  "luminance": 0.35199
}

Semantic roles & 50–950 ramp

primary
#DA7FDB
secondary
#CDE9CD
accent
#C42224
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DA7FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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