#DA98EB#DA98EB

#DA98EB is a light, vivid purple. Relative luminance 0.434; OKLCH L 77.2% C 0.135 H 319.3°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#DA98EB
RGBrgb(218, 152, 235)
HSLhsl(288, 67%, 76%)
HSVhsv(288, 35%, 92%)
CMYKcmyk(7.2%, 35.3%, 0%, 7.8%)
CIE-LABlab(71.80, 38.55, -32.08)
CIE-LCHlch(71.80, 50.16, 320.23°)
OKLaboklab(77.23% 0.102 -0.0878)
OKLCHoklch(77.23% 0.135 319.3)
XYZxyz(55.1351, 43.3616, 84.0464)
Luminance0.4336 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA98EB #A9EB98
analogous
#B098EB #DA98EB #EB98D2
triadic
#DA98EB #EBDA98 #98EBDA
tetradic
#DA98EB #EBB098 #A9EB98 #98D2EB
square
#DA98EB #EBB098 #A9EB98 #98D2EB
split-complementary
#DA98EB #D2EB98 #98EBB0
monochromatic
#B532D7 #C865E1 #DA98EB #ECCBF5 #F6E5FA

Accessibility & contrast

On white

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

On black

9.67
#DA98EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA98EB
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA98EB#FFFFFF#000000##000000
##DA98EB1.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #da98eb;
/* rgb */ color: rgb(218, 152, 235);
/* oklch */ color: oklch(77.2% 0.135 319.3);
Tailwind
colors: {
  custom: {
    50: '#e6b7f1',
    500: '#da98eb',
    950: '#000000',
  },
}
SCSS
$custom: #da98eb;
$custom-light: #e6b7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#da98eb",
  "rgb": {
    "r": 218,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 287.711,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.77233,
    "c": 0.13459,
    "h": 319.3
  },
  "luminance": 0.4336
}

Semantic roles & 50–950 ramp

primary
#DA98EB
secondary
#DEF2D9
accent
#CF163C
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DA98EB

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

Preview Lab → · Contrast checker → · Palette generator →

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