#DA98FB#DA98FB

#DA98FB is a light, vivid purple. Relative luminance 0.443; OKLCH L 77.9% C 0.152 H 313.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#DA98FB
RGBrgb(218, 152, 251)
HSLhsl(280, 93%, 79%)
HSVhsv(280, 39%, 98%)
CMYKcmyk(13.1%, 39.4%, 0%, 1.6%)
CIE-LABlab(72.45, 41.76, -39.80)
CIE-LCHlch(72.45, 57.69, 316.38°)
OKLaboklab(77.93% 0.1054 -0.1099)
OKLCHoklch(77.93% 0.152 313.8)
XYZxyz(57.5514, 44.3281, 96.7725)
Luminance0.4433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA98FB #B9FB98
analogous
#A998FB #DA98FB #FB98EB
triadic
#DA98FB #FBDA98 #98FBDA
tetradic
#DA98FB #FBA998 #B9FB98 #98EBFB
square
#DA98FB #FBA998 #B9FB98 #98EBFB
split-complementary
#DA98FB #EBFB98 #98FBA9
monochromatic
#B022F6 #C55DF9 #DA98FB #EFD3FD #F4E2FE

Accessibility & contrast

On white

2.13
#DA98FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#DA98FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA98FB
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA98FB#FFFFFF#000000##000000
##DA98FB1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#97B3F8
Tritanopia (blue-blind)
#D8A6BE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #da98fb;
/* rgb */ color: rgb(218, 152, 251);
/* oklch */ color: oklch(77.9% 0.152 313.8);
Tailwind
colors: {
  custom: {
    50: '#e7b7fd',
    500: '#da98fb',
    950: '#000000',
  },
}
SCSS
$custom: #da98fb;
$custom-light: #e7b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#da98fb",
  "rgb": {
    "r": 218,
    "g": 152,
    "b": 251
  },
  "hsl": {
    "h": 280,
    "s": 92.523,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77934,
    "c": 0.15227,
    "h": 313.8
  },
  "luminance": 0.44327
}

Semantic roles & 50–950 ramp

primary
#DA98FB
secondary
#E0F6D5
accent
#E6004C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DA98FB

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

Preview Lab → · Contrast checker → · Palette generator →

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