#DA98F8#DA98F8

#DA98F8 is a light, vivid purple. Relative luminance 0.441; OKLCH L 77.8% C 0.149 H 314.7°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#DA98F8
RGBrgb(218, 152, 248)
HSLhsl(281, 87%, 78%)
HSVhsv(281, 39%, 97%)
CMYKcmyk(12.1%, 38.7%, 0%, 2.7%)
CIE-LABlab(72.32, 41.15, -38.36)
CIE-LCHlch(72.32, 56.26, 317.01°)
OKLaboklab(77.8% 0.1048 -0.1058)
OKLCHoklch(77.8% 0.149 314.7)
XYZxyz(57.0823, 44.1405, 94.3017)
Luminance0.4414 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA98F8 #B6F898
analogous
#AA98F8 #DA98F8 #F898E6
triadic
#DA98F8 #F8DA98 #98F8DA
tetradic
#DA98F8 #F8AA98 #B6F898 #98E6F8
square
#DA98F8 #F8AA98 #B6F898 #98E6F8
split-complementary
#DA98F8 #E6F898 #98F8AA
monochromatic
#B125F0 #C55FF4 #DA98F8 #EFD1FC #F5E2FD

Accessibility & contrast

On white

2.14
#DA98F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.83
#DA98F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA98F8
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA98F8#FFFFFF#000000##000000
##DA98F81.002.149.839.83
#FFFFFF2.141.0021.0021.00
#0000009.8321.001.001.00
##0000009.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ADFC
Deuteranopia (green-blind)
#98B3F5
Tritanopia (blue-blind)
#D8A5BC
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #da98f8;
/* rgb */ color: rgb(218, 152, 248);
/* oklch */ color: oklch(77.8% 0.149 314.7);
Tailwind
colors: {
  custom: {
    50: '#e7b7fb',
    500: '#da98f8',
    950: '#000000',
  },
}
SCSS
$custom: #da98f8;
$custom-light: #e7b7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#da98f8",
  "rgb": {
    "r": 218,
    "g": 152,
    "b": 248
  },
  "hsl": {
    "h": 281.25,
    "s": 87.273,
    "l": 78.431
  },
  "oklch": {
    "l": 0.77799,
    "c": 0.1489,
    "h": 314.7
  },
  "luminance": 0.44139
}

Semantic roles & 50–950 ramp

primary
#DA98F8
secondary
#E0F5D6
accent
#E40248
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DA98F8

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

Preview Lab → · Contrast checker → · Palette generator →

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