#DA97FA#DA97FA

#DA97FA is a light, vivid purple. Relative luminance 0.439; OKLCH L 77.7% C 0.153 H 314.2°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#DA97FA
RGBrgb(218, 151, 250)
HSLhsl(281, 91%, 79%)
HSVhsv(281, 40%, 98%)
CMYKcmyk(12.8%, 39.6%, 0%, 2%)
CIE-LABlab(72.19, 42.09, -39.65)
CIE-LCHlch(72.19, 57.83, 316.71°)
OKLaboklab(77.73% 0.1066 -0.1095)
OKLCHoklch(77.73% 0.153 314.2)
XYZxyz(57.2326, 43.9420, 95.8907)
Luminance0.4394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA97FA #B7FA97
analogous
#A897FA #DA97FA #FA97E8
triadic
#DA97FA #FADA97 #97FADA
tetradic
#DA97FA #FAA897 #B7FA97 #97E8FA
square
#DA97FA #FAA897 #B7FA97 #97E8FA
split-complementary
#DA97FA #E8FA97 #97FAA8
monochromatic
#B022F4 #C55DF7 #DA97FA #EFD1FD #F5E2FE

Accessibility & contrast

On white

2.15
#DA97FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#DA97FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA97FA
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA97FA#FFFFFF#000000##000000
##DA97FA1.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#86ADFE
Deuteranopia (green-blind)
#96B3F7
Tritanopia (blue-blind)
#D8A5BD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #da97fa;
/* rgb */ color: rgb(218, 151, 250);
/* oklch */ color: oklch(77.7% 0.153 314.2);
Tailwind
colors: {
  custom: {
    50: '#e7b7fc',
    500: '#da97fa',
    950: '#000000',
  },
}
SCSS
$custom: #da97fa;
$custom-light: #e7b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#da97fa",
  "rgb": {
    "r": 218,
    "g": 151,
    "b": 250
  },
  "hsl": {
    "h": 280.606,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77727,
    "c": 0.15281,
    "h": 314.2
  },
  "luminance": 0.43941
}

Semantic roles & 50–950 ramp

primary
#DA97FA
secondary
#E0F6D5
accent
#E6004A
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DA97FA

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

Preview Lab → · Contrast checker → · Palette generator →

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