#DA98FE#DA98FE

#DA98FE is a light, vivid violet. Relative luminance 0.445; OKLCH L 78.1% C 0.156 H 312.9°. Best body text is #000000 at 9.90:1 contrast (WCAG AA passes).

Color values

HEX#DA98FE
RGBrgb(218, 152, 254)
HSLhsl(279, 98%, 80%)
HSVhsv(279, 40%, 100%)
CMYKcmyk(14.2%, 40.2%, 0%, 0.4%)
CIE-LABlab(72.57, 42.38, -41.23)
CIE-LCHlch(72.57, 59.13, 315.79°)
OKLaboklab(78.07% 0.106 -0.114)
OKLCHoklch(78.07% 0.156 312.9)
XYZxyz(58.0281, 44.5188, 99.2828)
Luminance0.4452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA98FE #BCFE98
analogous
#A798FE #DA98FE #FE98EF
triadic
#DA98FE #FEDA98 #98FEDA
tetradic
#DA98FE #FEA798 #BCFE98 #98EFFE
square
#DA98FE #FEA798 #BCFE98 #98EFFE
split-complementary
#DA98FE #EFFE98 #98FEA7
monochromatic
#AE1FFD #C45BFD #DA98FE #F0D5FF #F4E1FF

Accessibility & contrast

On white

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

On black

9.90
#DA98FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA98FE
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA98FE#FFFFFF#000000##000000
##DA98FE1.002.129.909.90
#FFFFFF2.121.0021.0021.00
#0000009.9021.001.001.00
##0000009.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #da98fe;
/* rgb */ color: rgb(218, 152, 254);
/* oklch */ color: oklch(78.1% 0.156 312.9);
Tailwind
colors: {
  custom: {
    50: '#e7b7ff',
    500: '#da98fe',
    950: '#000000',
  },
}
SCSS
$custom: #da98fe;
$custom-light: #e7b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#da98fe",
  "rgb": {
    "r": 218,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 278.824,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.78071,
    "c": 0.15565,
    "h": 312.9
  },
  "luminance": 0.44518
}

Semantic roles & 50–950 ramp

primary
#DA98FE
secondary
#E0F7D4
accent
#E60051
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DA98FE

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

Preview Lab → · Contrast checker → · Palette generator →

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