#DA97EC#DA97EC

#DA97EC is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.1% C 0.137 H 319.0°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#DA97EC
RGBrgb(218, 151, 236)
HSLhsl(287, 69%, 76%)
HSVhsv(287, 36%, 93%)
CMYKcmyk(7.6%, 36%, 0%, 7.5%)
CIE-LABlab(71.62, 39.28, -32.91)
CIE-LCHlch(71.62, 51.24, 320.04°)
OKLaboklab(77.11% 0.1037 -0.0902)
OKLCHoklch(77.11% 0.137 319)
XYZxyz(55.1183, 43.0963, 84.7555)
Luminance0.4309 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA97EC #A9EC97
analogous
#AF97EC #DA97EC #EC97D3
triadic
#DA97EC #ECDA97 #97ECDA
tetradic
#DA97EC #ECAF97 #A9EC97 #97D3EC
square
#DA97EC #ECAF97 #A9EC97 #97D3EC
split-complementary
#DA97EC #D3EC97 #97ECAF
monochromatic
#B530D9 #C863E3 #DA97EC #ECCBF5 #F6E5FA

Accessibility & contrast

On white

2.18
#DA97EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#DA97EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA97EC
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA97EC#FFFFFF#000000##000000
##DA97EC1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CABEF
Deuteranopia (green-blind)
#9CB2E9
Tritanopia (blue-blind)
#DBA1B7
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #da97ec;
/* rgb */ color: rgb(218, 151, 236);
/* oklch */ color: oklch(77.1% 0.137 319.0);
Tailwind
colors: {
  custom: {
    50: '#e6b6f2',
    500: '#da97ec',
    950: '#000000',
  },
}
SCSS
$custom: #da97ec;
$custom-light: #e6b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#da97ec",
  "rgb": {
    "r": 218,
    "g": 151,
    "b": 236
  },
  "hsl": {
    "h": 287.294,
    "s": 69.106,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7711,
    "c": 0.13739,
    "h": 319
  },
  "luminance": 0.43095
}

Semantic roles & 50–950 ramp

primary
#DA97EC
secondary
#DEF2D9
accent
#D1143C
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DA97EC

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

Preview Lab → · Contrast checker → · Palette generator →

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