#D098FE#D098FE

#D098FE is a light, vivid violet. Relative luminance 0.430; OKLCH L 77.1% C 0.152 H 308.5°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#D098FE
RGBrgb(208, 152, 254)
HSLhsl(273, 98%, 80%)
HSVhsv(273, 40%, 100%)
CMYKcmyk(18.1%, 40.2%, 0%, 0.4%)
CIE-LABlab(71.57, 39.52, -42.87)
CIE-LCHlch(71.57, 58.30, 312.67°)
OKLaboklab(77.09% 0.0945 -0.1189)
OKLCHoklch(77.09% 0.152 308.5)
XYZxyz(55.1267, 43.0227, 99.1468)
Luminance0.4302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D098FE #C6FE98
analogous
#9D98FE #D098FE #FE98F9
triadic
#D098FE #FED098 #98FED0
tetradic
#D098FE #FE9D98 #C6FE98 #98F9FE
square
#D098FE #FE9D98 #C6FE98 #98F9FE
split-complementary
#D098FE #F9FE98 #98FE9D
monochromatic
#991FFD #B45BFD #D098FE #ECD5FF #F1E1FF

Accessibility & contrast

On white

2.19
#D098FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.60
#D098FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D098FE
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D098FE#FFFFFF#000000##000000
##D098FE1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#8FB0FB
Tritanopia (blue-blind)
#CAA8BF
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d098fe;
/* rgb */ color: rgb(208, 152, 254);
/* oklch */ color: oklch(77.1% 0.152 308.5);
Tailwind
colors: {
  custom: {
    50: '#e0b7ff',
    500: '#d098fe',
    950: '#000000',
  },
}
SCSS
$custom: #d098fe;
$custom-light: #e0b7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d098fe",
  "rgb": {
    "r": 208,
    "g": 152,
    "b": 254
  },
  "hsl": {
    "h": 272.941,
    "s": 98.077,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77086,
    "c": 0.15188,
    "h": 308.5
  },
  "luminance": 0.43022
}

Semantic roles & 50–950 ramp

primary
#D098FE
secondary
#E4F7D4
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #D098FE

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

Preview Lab → · Contrast checker → · Palette generator →

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