#DA98FF#DA98FF

#DA98FF is a light, vivid violet. Relative luminance 0.446; OKLCH L 78.1% C 0.157 H 312.6°. Best body text is #000000 at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#DA98FF
RGBrgb(218, 152, 255)
HSLhsl(278, 100%, 80%)
HSVhsv(278, 40%, 100%)
CMYKcmyk(14.5%, 40.4%, 0%, 0%)
CIE-LABlab(72.62, 42.59, -41.70)
CIE-LCHlch(72.62, 59.61, 315.60°)
OKLaboklab(78.12% 0.1062 -0.1154)
OKLCHoklch(78.12% 0.157 312.6)
XYZxyz(58.1886, 44.5830, 100.1284)
Luminance0.4458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DA98FF #BDFF98
analogous
#A798FF #DA98FF #FF98F0
triadic
#DA98FF #FFDA98 #98FFDA
tetradic
#DA98FF #FFA798 #BDFF98 #98F0FF
square
#DA98FF #FFA798 #BDFF98 #98F0FF
split-complementary
#DA98FF #F0FF98 #98FFA7
monochromatic
#AE1EFF #C45BFF #DA98FF #F0D5FF #F4E0FF

Accessibility & contrast

On white

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

On black

9.92
#DA98FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DA98FF
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DA98FF#FFFFFF#000000##000000
##DA98FF1.002.129.929.92
#FFFFFF2.121.0021.0021.00
#0000009.9221.001.001.00
##0000009.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#84AFFF
Deuteranopia (green-blind)
#95B4FC
Tritanopia (blue-blind)
#D7A7C0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #da98ff;
/* rgb */ color: rgb(218, 152, 255);
/* oklch */ color: oklch(78.1% 0.157 312.6);
Tailwind
colors: {
  custom: {
    50: '#e7b7ff',
    500: '#da98ff',
    950: '#000000',
  },
}
SCSS
$custom: #da98ff;
$custom-light: #e7b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#da98ff",
  "rgb": {
    "r": 218,
    "g": 152,
    "b": 255
  },
  "hsl": {
    "h": 278.447,
    "s": 100,
    "l": 79.804
  },
  "oklch": {
    "l": 0.78117,
    "c": 0.15679,
    "h": 312.6
  },
  "luminance": 0.44582
}

Semantic roles & 50–950 ramp

primary
#DA98FF
secondary
#E0F7D4
accent
#E60052
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DA98FF

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

Preview Lab → · Contrast checker → · Palette generator →

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