#D098EB#D098EB

#D098EB is a light, vivid purple. Relative luminance 0.419; OKLCH L 76.2% C 0.130 H 314.3°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#D098EB
RGBrgb(208, 152, 235)
HSLhsl(280, 67%, 76%)
HSVhsv(280, 35%, 92%)
CMYKcmyk(11.5%, 35.3%, 0%, 7.8%)
CIE-LABlab(70.78, 35.51, -33.75)
CIE-LCHlch(70.78, 48.99, 316.46°)
OKLaboklab(76.23% 0.0905 -0.0927)
OKLCHoklch(76.23% 0.13 314.3)
XYZxyz(52.2337, 41.8655, 83.9104)
Luminance0.4187 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D098EB #B3EB98
analogous
#A698EB #D098EB #EB98DC
triadic
#D098EB #EBD098 #98EBD0
tetradic
#D098EB #EBA698 #B3EB98 #98DCEB
square
#D098EB #EBA698 #B3EB98 #98DCEB
split-complementary
#D098EB #DCEB98 #98EBA6
monochromatic
#A132D7 #B965E1 #D098EB #E7CBF5 #F3E5FA

Accessibility & contrast

On white

2.24
#D098EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#D098EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D098EB
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D098EB#FFFFFF#000000##000000
##D098EB1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAEE
Deuteranopia (green-blind)
#98AFE9
Tritanopia (blue-blind)
#CEA3B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d098eb;
/* rgb */ color: rgb(208, 152, 235);
/* oklch */ color: oklch(76.2% 0.130 314.3);
Tailwind
colors: {
  custom: {
    50: '#dfb7f1',
    500: '#d098eb',
    950: '#000000',
  },
}
SCSS
$custom: #d098eb;
$custom-light: #dfb7f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d098eb",
  "rgb": {
    "r": 208,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 280.482,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76227,
    "c": 0.12961,
    "h": 314.3
  },
  "luminance": 0.41865
}

Semantic roles & 50–950 ramp

primary
#D098EB
secondary
#E1F2D9
accent
#CF1652
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D098EB

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

Preview Lab → · Contrast checker → · Palette generator →

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