#DA97FF#DA97FF

#DA97FF is a light, vivid violet. Relative luminance 0.443; OKLCH L 78.0% C 0.158 H 312.8°. Best body text is #000000 at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#DA97FF
RGBrgb(218, 151, 255)
HSLhsl(279, 100%, 80%)
HSVhsv(279, 41%, 100%)
CMYKcmyk(14.5%, 40.8%, 0%, 0%)
CIE-LABlab(72.40, 43.12, -42.04)
CIE-LCHlch(72.40, 60.22, 315.73°)
OKLaboklab(77.96% 0.1076 -0.1163)
OKLCHoklch(77.96% 0.158 312.8)
XYZxyz(58.0270, 44.2598, 100.0745)
Luminance0.4426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA97FF #BCFF97
analogous
#A697FF #DA97FF #FF97F0
triadic
#DA97FF #FFDA97 #97FFDA
tetradic
#DA97FF #FFA697 #BCFF97 #97F0FF
square
#DA97FF #FFA697 #BCFF97 #97F0FF
split-complementary
#DA97FF #F0FF97 #97FFA6
monochromatic
#AE1DFF #C45AFF #DA97FF #F0D4FF #F4E0FF

Accessibility & contrast

On white

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

On black

9.85
#DA97FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA97FF
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA97FF#FFFFFF#000000##000000
##DA97FF1.002.139.859.85
#FFFFFF2.131.0021.0021.00
#0000009.8521.001.001.00
##0000009.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#83AEFF
Deuteranopia (green-blind)
#94B3FC
Tritanopia (blue-blind)
#D7A6BF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #da97ff;
/* rgb */ color: rgb(218, 151, 255);
/* oklch */ color: oklch(78.0% 0.158 312.8);
Tailwind
colors: {
  custom: {
    50: '#e7b7ff',
    500: '#da97ff',
    950: '#000000',
  },
}
SCSS
$custom: #da97ff;
$custom-light: #e7b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#da97ff",
  "rgb": {
    "r": 218,
    "g": 151,
    "b": 255
  },
  "hsl": {
    "h": 278.654,
    "s": 100,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77956,
    "c": 0.15843,
    "h": 312.8
  },
  "luminance": 0.44259
}

Semantic roles & 50–950 ramp

primary
#DA97FF
secondary
#E0F7D4
accent
#E60052
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DA97FF

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

Preview Lab → · Contrast checker → · Palette generator →

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