#DA98EC#DA98EC

#DA98EC is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.3% C 0.136 H 318.9°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#DA98EC
RGBrgb(218, 152, 236)
HSLhsl(287, 69%, 76%)
HSVhsv(287, 36%, 93%)
CMYKcmyk(7.6%, 35.6%, 0%, 7.5%)
CIE-LABlab(71.84, 38.75, -32.57)
CIE-LCHlch(71.84, 50.62, 319.95°)
OKLaboklab(77.28% 0.1022 -0.0892)
OKLCHoklch(77.28% 0.136 318.9)
XYZxyz(55.2800, 43.4195, 84.8094)
Luminance0.4342 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA98EC #AAEC98
analogous
#B098EC #DA98EC #EC98D4
triadic
#DA98EC #ECDA98 #98ECDA
tetradic
#DA98EC #ECB098 #AAEC98 #98D4EC
square
#DA98EC #ECB098 #AAEC98 #98D4EC
split-complementary
#DA98EC #D4EC98 #98ECB0
monochromatic
#B531D9 #C764E2 #DA98EC #EDCCF6 #F6E5FA

Accessibility & contrast

On white

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

On black

9.68
#DA98EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA98EC
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA98EC#FFFFFF#000000##000000
##DA98EC1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DACEF
Deuteranopia (green-blind)
#9DB2E9
Tritanopia (blue-blind)
#DBA2B7
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #da98ec;
/* rgb */ color: rgb(218, 152, 236);
/* oklch */ color: oklch(77.3% 0.136 318.9);
Tailwind
colors: {
  custom: {
    50: '#e6b7f2',
    500: '#da98ec',
    950: '#000000',
  },
}
SCSS
$custom: #da98ec;
$custom-light: #e6b7f2;
$custom-dark: #000000;
JSON
{
  "hex": "#da98ec",
  "rgb": {
    "r": 218,
    "g": 152,
    "b": 236
  },
  "hsl": {
    "h": 287.143,
    "s": 68.852,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77275,
    "c": 0.13567,
    "h": 318.9
  },
  "luminance": 0.43418
}

Semantic roles & 50–950 ramp

primary
#DA98EC
secondary
#DEF2D9
accent
#D1153D
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DA98EC

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

Preview Lab → · Contrast checker → · Palette generator →

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