#DA98FC#DA98FC

#DA98FC is a light, vivid violet. Relative luminance 0.444; OKLCH L 78.0% C 0.153 H 313.5°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#DA98FC
RGBrgb(218, 152, 252)
HSLhsl(280, 94%, 79%)
HSVhsv(280, 40%, 99%)
CMYKcmyk(13.5%, 39.7%, 0%, 1.2%)
CIE-LABlab(72.49, 41.97, -40.27)
CIE-LCHlch(72.49, 58.17, 316.18°)
OKLaboklab(77.98% 0.1056 -0.1112)
OKLCHoklch(77.98% 0.153 313.5)
XYZxyz(57.7095, 44.3914, 97.6049)
Luminance0.4439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA98FC #BAFC98
analogous
#A898FC #DA98FC #FC98EC
triadic
#DA98FC #FCDA98 #98FCDA
tetradic
#DA98FC #FCA898 #BAFC98 #98ECFC
square
#DA98FC #FCA898 #BAFC98 #98ECFC
split-complementary
#DA98FC #ECFC98 #98FCA8
monochromatic
#AF21F9 #C55DFA #DA98FC #EFD3FE #F4E1FE

Accessibility & contrast

On white

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

On black

9.88
#DA98FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA98FC
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA98FC#FFFFFF#000000##000000
##DA98FC1.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AEFF
Deuteranopia (green-blind)
#96B4F9
Tritanopia (blue-blind)
#D7A6BE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #da98fc;
/* rgb */ color: rgb(218, 152, 252);
/* oklch */ color: oklch(78.0% 0.153 313.5);
Tailwind
colors: {
  custom: {
    50: '#e7b7fd',
    500: '#da98fc',
    950: '#000000',
  },
}
SCSS
$custom: #da98fc;
$custom-light: #e7b7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#da98fc",
  "rgb": {
    "r": 218,
    "g": 152,
    "b": 252
  },
  "hsl": {
    "h": 279.6,
    "s": 94.34,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7798,
    "c": 0.1534,
    "h": 313.5
  },
  "luminance": 0.4439
}

Semantic roles & 50–950 ramp

primary
#DA98FC
secondary
#E0F6D5
accent
#E6004E
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DA98FC

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

Preview Lab → · Contrast checker → · Palette generator →

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