#DA98EF#DA98EF

#DA98EF is a light, vivid purple. Relative luminance 0.436; OKLCH L 77.4% C 0.139 H 317.8°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#DA98EF
RGBrgb(218, 152, 239)
HSLhsl(286, 73%, 77%)
HSVhsv(286, 36%, 94%)
CMYKcmyk(8.8%, 36.4%, 0%, 6.3%)
CIE-LABlab(71.96, 39.34, -34.03)
CIE-LCHlch(71.96, 52.01, 319.14°)
OKLaboklab(77.4% 0.1029 -0.0934)
OKLCHoklch(77.4% 0.139 317.8)
XYZxyz(55.7195, 43.5953, 87.1242)
Luminance0.4359 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA98EF #ADEF98
analogous
#AF98EF #DA98EF #EF98D9
triadic
#DA98EF #EFDA98 #98EFDA
tetradic
#DA98EF #EFAF98 #ADEF98 #98D9EF
square
#DA98EF #EFAF98 #ADEF98 #98D9EF
split-complementary
#DA98EF #D9EF98 #98EFAF
monochromatic
#B42EDF #C763E7 #DA98EF #EDCDF7 #F5E5FB

Accessibility & contrast

On white

2.16
#DA98EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#DA98EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA98EF
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA98EF#FFFFFF#000000##000000
##DA98EF1.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8CACF2
Deuteranopia (green-blind)
#9CB3EC
Tritanopia (blue-blind)
#DAA3B9
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #da98ef;
/* rgb */ color: rgb(218, 152, 239);
/* oklch */ color: oklch(77.4% 0.139 317.8);
Tailwind
colors: {
  custom: {
    50: '#e6b7f4',
    500: '#da98ef',
    950: '#000000',
  },
}
SCSS
$custom: #da98ef;
$custom-light: #e6b7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#da98ef",
  "rgb": {
    "r": 218,
    "g": 152,
    "b": 239
  },
  "hsl": {
    "h": 285.517,
    "s": 73.109,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77403,
    "c": 0.13893,
    "h": 317.8
  },
  "luminance": 0.43594
}

Semantic roles & 50–950 ramp

primary
#DA98EF
secondary
#DFF3D8
accent
#D51040
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DA98EF

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

Preview Lab → · Contrast checker → · Palette generator →

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