#DA97FB#DA97FB

#DA97FB is a light, vivid purple. Relative luminance 0.440; OKLCH L 77.8% C 0.154 H 313.9°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#DA97FB
RGBrgb(218, 151, 251)
HSLhsl(280, 93%, 79%)
HSVhsv(280, 40%, 98%)
CMYKcmyk(13.1%, 39.8%, 0%, 1.6%)
CIE-LABlab(72.23, 42.30, -40.13)
CIE-LCHlch(72.23, 58.31, 316.50°)
OKLaboklab(77.77% 0.1068 -0.1108)
OKLCHoklch(77.77% 0.154 313.9)
XYZxyz(57.3898, 44.0049, 96.7187)
Luminance0.4400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA97FB #B8FB97
analogous
#A897FB #DA97FB #FB97EA
triadic
#DA97FB #FBDA97 #97FBDA
tetradic
#DA97FB #FBA897 #B8FB97 #97EAFB
square
#DA97FB #FBA897 #B8FB97 #97EAFB
split-complementary
#DA97FB #EAFB97 #97FBA8
monochromatic
#B021F6 #C55CF9 #DA97FB #EFD2FD #F5E2FE

Accessibility & contrast

On white

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

On black

9.80
#DA97FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA97FB
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA97FB#FFFFFF#000000##000000
##DA97FB1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ADFF
Deuteranopia (green-blind)
#96B3F8
Tritanopia (blue-blind)
#D8A5BD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #da97fb;
/* rgb */ color: rgb(218, 151, 251);
/* oklch */ color: oklch(77.8% 0.154 313.9);
Tailwind
colors: {
  custom: {
    50: '#e7b7fd',
    500: '#da97fb',
    950: '#000000',
  },
}
SCSS
$custom: #da97fb;
$custom-light: #e7b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#da97fb",
  "rgb": {
    "r": 218,
    "g": 151,
    "b": 251
  },
  "hsl": {
    "h": 280.2,
    "s": 92.593,
    "l": 78.824
  },
  "oklch": {
    "l": 0.77772,
    "c": 0.15394,
    "h": 313.9
  },
  "luminance": 0.44004
}

Semantic roles & 50–950 ramp

primary
#DA97FB
secondary
#E0F6D5
accent
#E6004C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DA97FB

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

Preview Lab → · Contrast checker → · Palette generator →

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