#DA97F2#DA97F2

#DA97F2 is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.4% C 0.144 H 316.8°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#DA97F2
RGBrgb(218, 151, 242)
HSLhsl(284, 78%, 77%)
HSVhsv(284, 38%, 95%)
CMYKcmyk(9.9%, 37.6%, 0%, 5.1%)
CIE-LABlab(71.86, 40.47, -35.81)
CIE-LCHlch(71.86, 54.04, 318.49°)
OKLaboklab(77.37% 0.105 -0.0985)
OKLCHoklch(77.37% 0.144 316.8)
XYZxyz(56.0047, 43.4509, 89.4238)
Luminance0.4345 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA97F2 #AFF297
analogous
#AD97F2 #DA97F2 #F297DD
triadic
#DA97F2 #F2DA97 #97F2DA
tetradic
#DA97F2 #F2AD97 #AFF297 #97DDF2
square
#DA97F2 #F2AD97 #AFF297 #97DDF2
split-complementary
#DA97F2 #DDF297 #97F2AD
monochromatic
#B32AE4 #C761EB #DA97F2 #EDCDF9 #F5E4FC

Accessibility & contrast

On white

2.17
#DA97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#DA97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA97F2
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA97F2#FFFFFF#000000##000000
##DA97F21.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ACF5
Deuteranopia (green-blind)
#9AB2EF
Tritanopia (blue-blind)
#DAA3B9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #da97f2;
/* rgb */ color: rgb(218, 151, 242);
/* oklch */ color: oklch(77.4% 0.144 316.8);
Tailwind
colors: {
  custom: {
    50: '#e7b6f6',
    500: '#da97f2',
    950: '#000000',
  },
}
SCSS
$custom: #da97f2;
$custom-light: #e7b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#da97f2",
  "rgb": {
    "r": 218,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 284.176,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7737,
    "c": 0.14393,
    "h": 316.8
  },
  "luminance": 0.43449
}

Semantic roles & 50–950 ramp

primary
#DA97F2
secondary
#DFF3D8
accent
#DA0B42
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DA97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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