#DA97FE#DA97FE

#DA97FE is a light, vivid violet. Relative luminance 0.442; OKLCH L 77.9% C 0.157 H 313.1°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#DA97FE
RGBrgb(218, 151, 254)
HSLhsl(279, 98%, 79%)
HSVhsv(279, 41%, 100%)
CMYKcmyk(14.2%, 40.6%, 0%, 0.4%)
CIE-LABlab(72.36, 42.91, -41.56)
CIE-LCHlch(72.36, 59.74, 315.92°)
OKLaboklab(77.91% 0.1074 -0.1149)
OKLCHoklch(77.91% 0.157 313.1)
XYZxyz(57.8665, 44.1956, 99.2290)
Luminance0.4419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA97FE #BBFE97
analogous
#A797FE #DA97FE #FE97EF
triadic
#DA97FE #FEDA97 #97FEDA
tetradic
#DA97FE #FEA797 #BBFE97 #97EFFE
square
#DA97FE #FEA797 #BBFE97 #97EFFE
split-complementary
#DA97FE #EFFE97 #97FEA7
monochromatic
#AF1EFD #C45AFD #DA97FE #F0D4FF #F4E1FF

Accessibility & contrast

On white

2.13
#DA97FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#DA97FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA97FE
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA97FE#FFFFFF#000000##000000
##DA97FE1.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AEFF
Deuteranopia (green-blind)
#94B3FB
Tritanopia (blue-blind)
#D7A6BF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #da97fe;
/* rgb */ color: rgb(218, 151, 254);
/* oklch */ color: oklch(77.9% 0.157 313.1);
Tailwind
colors: {
  custom: {
    50: '#e7b7ff',
    500: '#da97fe',
    950: '#000000',
  },
}
SCSS
$custom: #da97fe;
$custom-light: #e7b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#da97fe",
  "rgb": {
    "r": 218,
    "g": 151,
    "b": 254
  },
  "hsl": {
    "h": 279.029,
    "s": 98.095,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77909,
    "c": 0.15731,
    "h": 313.1
  },
  "luminance": 0.44194
}

Semantic roles & 50–950 ramp

primary
#DA97FE
secondary
#E0F7D4
accent
#E60050
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DA97FE

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

Preview Lab → · Contrast checker → · Palette generator →

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