#DA97EB#DA97EB

#DA97EB is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.1% C 0.136 H 319.3°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#DA97EB
RGBrgb(218, 151, 235)
HSLhsl(288, 68%, 76%)
HSVhsv(288, 36%, 92%)
CMYKcmyk(7.2%, 35.7%, 0%, 7.8%)
CIE-LABlab(71.58, 39.09, -32.42)
CIE-LCHlch(71.58, 50.78, 320.32°)
OKLaboklab(77.07% 0.1034 -0.0888)
OKLCHoklch(77.07% 0.136 319.3)
XYZxyz(54.9735, 43.0384, 83.9925)
Luminance0.4304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA97EB #A8EB97
analogous
#B097EB #DA97EB #EB97D2
triadic
#DA97EB #EBDA97 #97EBDA
tetradic
#DA97EB #EBB097 #A8EB97 #97D2EB
square
#DA97EB #EBB097 #A8EB97 #97D2EB
split-complementary
#DA97EB #D2EB97 #97EBB0
monochromatic
#B530D7 #C864E1 #DA97EB #ECCAF5 #F6E5FA

Accessibility & contrast

On white

2.19
#DA97EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#DA97EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA97EB
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA97EB#FFFFFF#000000##000000
##DA97EB1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEE
Deuteranopia (green-blind)
#9CB2E8
Tritanopia (blue-blind)
#DBA1B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #da97eb;
/* rgb */ color: rgb(218, 151, 235);
/* oklch */ color: oklch(77.1% 0.136 319.3);
Tailwind
colors: {
  custom: {
    50: '#e6b6f1',
    500: '#da97eb',
    950: '#000000',
  },
}
SCSS
$custom: #da97eb;
$custom-light: #e6b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#da97eb",
  "rgb": {
    "r": 218,
    "g": 151,
    "b": 235
  },
  "hsl": {
    "h": 287.857,
    "s": 67.742,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77067,
    "c": 0.13631,
    "h": 319.3
  },
  "luminance": 0.43037
}

Semantic roles & 50–950 ramp

primary
#DA97EB
secondary
#DEF2D9
accent
#D0163B
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DA97EB

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

Preview Lab → · Contrast checker → · Palette generator →

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