#DA97FD#DA97FD

#DA97FD is a light, vivid violet. Relative luminance 0.441; OKLCH L 77.9% C 0.156 H 313.3°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#DA97FD
RGBrgb(218, 151, 253)
HSLhsl(279, 96%, 79%)
HSVhsv(279, 40%, 99%)
CMYKcmyk(13.8%, 40.3%, 0%, 0.8%)
CIE-LABlab(72.32, 42.71, -41.09)
CIE-LCHlch(72.32, 59.26, 316.11°)
OKLaboklab(77.86% 0.1072 -0.1136)
OKLCHoklch(77.86% 0.156 313.3)
XYZxyz(57.7067, 44.1317, 98.3878)
Luminance0.4413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA97FD #BAFD97
analogous
#A797FD #DA97FD #FD97ED
triadic
#DA97FD #FDDA97 #97FDDA
tetradic
#DA97FD #FDA797 #BAFD97 #97EDFD
square
#DA97FD #FDA797 #BAFD97 #97EDFD
split-complementary
#DA97FD #EDFD97 #97FDA7
monochromatic
#AF1FFB #C55BFC #DA97FD #EFD3FE #F4E1FE

Accessibility & contrast

On white

2.14
#DA97FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#DA97FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA97FD
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA97FD#FFFFFF#000000##000000
##DA97FD1.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#95B3FA
Tritanopia (blue-blind)
#D7A5BE
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #da97fd;
/* rgb */ color: rgb(218, 151, 253);
/* oklch */ color: oklch(77.9% 0.156 313.3);
Tailwind
colors: {
  custom: {
    50: '#e7b7fe',
    500: '#da97fd',
    950: '#000000',
  },
}
SCSS
$custom: #da97fd;
$custom-light: #e7b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#da97fd",
  "rgb": {
    "r": 218,
    "g": 151,
    "b": 253
  },
  "hsl": {
    "h": 279.412,
    "s": 96.226,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77863,
    "c": 0.15618,
    "h": 313.3
  },
  "luminance": 0.4413
}

Semantic roles & 50–950 ramp

primary
#DA97FD
secondary
#E0F7D4
accent
#E6004F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DA97FD

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

Preview Lab → · Contrast checker → · Palette generator →

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