#DA98FD#DA98FD

#DA98FD is a light, vivid violet. Relative luminance 0.445; OKLCH L 78.0% C 0.155 H 313.2°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#DA98FD
RGBrgb(218, 152, 253)
HSLhsl(279, 96%, 79%)
HSVhsv(279, 40%, 99%)
CMYKcmyk(13.8%, 39.9%, 0%, 0.8%)
CIE-LABlab(72.53, 42.18, -40.75)
CIE-LCHlch(72.53, 58.65, 315.98°)
OKLaboklab(78.03% 0.1058 -0.1126)
OKLCHoklch(78.03% 0.155 313.2)
XYZxyz(57.8684, 44.4549, 98.4417)
Luminance0.4445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA98FD #BBFD98
analogous
#A898FD #DA98FD #FD98ED
triadic
#DA98FD #FDDA98 #98FDDA
tetradic
#DA98FD #FDA898 #BBFD98 #98EDFD
square
#DA98FD #FDA898 #BBFD98 #98EDFD
split-complementary
#DA98FD #EDFD98 #98FDA8
monochromatic
#AF20FB #C45CFC #DA98FD #F0D4FE #F4E1FE

Accessibility & contrast

On white

2.12
#DA98FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#DA98FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA98FD
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA98FD#FFFFFF#000000##000000
##DA98FD1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85AEFF
Deuteranopia (green-blind)
#96B4FA
Tritanopia (blue-blind)
#D7A6BF
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #da98fd;
/* rgb */ color: rgb(218, 152, 253);
/* oklch */ color: oklch(78.0% 0.155 313.2);
Tailwind
colors: {
  custom: {
    50: '#e7b7fe',
    500: '#da98fd',
    950: '#000000',
  },
}
SCSS
$custom: #da98fd;
$custom-light: #e7b7fe;
$custom-dark: #000000;
JSON
{
  "hex": "#da98fd",
  "rgb": {
    "r": 218,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 279.208,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.78025,
    "c": 0.15452,
    "h": 313.2
  },
  "luminance": 0.44454
}

Semantic roles & 50–950 ramp

primary
#DA98FD
secondary
#E0F7D4
accent
#E60050
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DA98FD

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

Preview Lab → · Contrast checker → · Palette generator →

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