#DA98F2#DA98F2

#DA98F2 is a light, vivid purple. Relative luminance 0.438; OKLCH L 77.5% C 0.142 H 316.7°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#DA98F2
RGBrgb(218, 152, 242)
HSLhsl(284, 78%, 77%)
HSVhsv(284, 37%, 95%)
CMYKcmyk(9.9%, 37.2%, 0%, 5.1%)
CIE-LABlab(72.08, 39.94, -35.48)
CIE-LCHlch(72.08, 53.42, 318.39°)
OKLaboklab(77.53% 0.1036 -0.0975)
OKLCHoklch(77.53% 0.142 316.7)
XYZxyz(56.1663, 43.7741, 89.4777)
Luminance0.4377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA98F2 #B0F298
analogous
#AD98F2 #DA98F2 #F298DD
triadic
#DA98F2 #F2DA98 #98F2DA
tetradic
#DA98F2 #F2AD98 #B0F298 #98DDF2
square
#DA98F2 #F2AD98 #B0F298 #98DDF2
split-complementary
#DA98F2 #DDF298 #98F2AD
monochromatic
#B32BE4 #C662EB #DA98F2 #EECEF9 #F5E4FC

Accessibility & contrast

On white

2.15
#DA98F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#DA98F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA98F2
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA98F2#FFFFFF#000000##000000
##DA98F21.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AADF5
Deuteranopia (green-blind)
#9AB3EF
Tritanopia (blue-blind)
#D9A3BA
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #da98f2;
/* rgb */ color: rgb(218, 152, 242);
/* oklch */ color: oklch(77.5% 0.142 316.7);
Tailwind
colors: {
  custom: {
    50: '#e6b7f6',
    500: '#da98f2',
    950: '#000000',
  },
}
SCSS
$custom: #da98f2;
$custom-light: #e6b7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#da98f2",
  "rgb": {
    "r": 218,
    "g": 152,
    "b": 242
  },
  "hsl": {
    "h": 284,
    "s": 77.586,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77534,
    "c": 0.14224,
    "h": 316.7
  },
  "luminance": 0.43773
}

Semantic roles & 50–950 ramp

primary
#DA98F2
secondary
#DFF3D8
accent
#DA0C43
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DA98F2

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

Preview Lab → · Contrast checker → · Palette generator →

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