#DA97EF#DA97EF

#DA97EF is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.2% C 0.141 H 317.9°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#DA97EF
RGBrgb(218, 151, 239)
HSLhsl(286, 73%, 76%)
HSVhsv(286, 37%, 94%)
CMYKcmyk(8.8%, 36.8%, 0%, 6.3%)
CIE-LABlab(71.74, 39.87, -34.36)
CIE-LCHlch(71.74, 52.64, 319.25°)
OKLaboklab(77.24% 0.1043 -0.0943)
OKLCHoklch(77.24% 0.141 317.9)
XYZxyz(55.5579, 43.2721, 87.0703)
Luminance0.4327 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA97EF #ACEF97
analogous
#AE97EF #DA97EF #EF97D8
triadic
#DA97EF #EFDA97 #97EFDA
tetradic
#DA97EF #EFAE97 #ACEF97 #97D8EF
square
#DA97EF #EFAE97 #ACEF97 #97D8EF
split-complementary
#DA97EF #D8EF97 #97EFAE
monochromatic
#B42DDF #C762E7 #DA97EF #EDCCF7 #F6E4FB

Accessibility & contrast

On white

2.18
#DA97EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#DA97EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA97EF
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA97EF#FFFFFF#000000##000000
##DA97EF1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AABF2
Deuteranopia (green-blind)
#9BB2EC
Tritanopia (blue-blind)
#DAA2B8
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #da97ef;
/* rgb */ color: rgb(218, 151, 239);
/* oklch */ color: oklch(77.2% 0.141 317.9);
Tailwind
colors: {
  custom: {
    50: '#e6b6f4',
    500: '#da97ef',
    950: '#000000',
  },
}
SCSS
$custom: #da97ef;
$custom-light: #e6b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#da97ef",
  "rgb": {
    "r": 218,
    "g": 151,
    "b": 239
  },
  "hsl": {
    "h": 285.682,
    "s": 73.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.77239,
    "c": 0.14064,
    "h": 317.9
  },
  "luminance": 0.43271
}

Semantic roles & 50–950 ramp

primary
#DA97EF
secondary
#DFF3D8
accent
#D5103F
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DA97EF

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

Preview Lab → · Contrast checker → · Palette generator →

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