#D098FA#D098FA

#D098FA is a light, vivid violet. Relative luminance 0.428; OKLCH L 76.9% C 0.147 H 309.6°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#D098FA
RGBrgb(208, 152, 250)
HSLhsl(274, 91%, 79%)
HSVhsv(274, 39%, 98%)
CMYKcmyk(16.8%, 39.2%, 0%, 2%)
CIE-LABlab(71.40, 38.66, -40.96)
CIE-LCHlch(71.40, 56.32, 313.34°)
OKLaboklab(76.9% 0.0937 -0.1134)
OKLCHoklch(76.9% 0.147 309.6)
XYZxyz(54.4928, 42.7692, 95.8085)
Luminance0.4277 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D098FA #C2FA98
analogous
#9F98FA #D098FA #FA98F3
triadic
#D098FA #FAD098 #98FAD0
tetradic
#D098FA #FA9F98 #C2FA98 #98F3FA
square
#D098FA #FA9F98 #C2FA98 #98F3FA
split-complementary
#D098FA #F3FA98 #98FA9F
monochromatic
#9B23F4 #B55EF7 #D098FA #EBD2FD #F2E2FE

Accessibility & contrast

On white

2.20
#D098FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#D098FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D098FA
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D098FA#FFFFFF#000000##000000
##D098FA1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFE
Deuteranopia (green-blind)
#91B0F7
Tritanopia (blue-blind)
#CBA7BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d098fa;
/* rgb */ color: rgb(208, 152, 250);
/* oklch */ color: oklch(76.9% 0.147 309.6);
Tailwind
colors: {
  custom: {
    50: '#e0b7fc',
    500: '#d098fa',
    950: '#000000',
  },
}
SCSS
$custom: #d098fa;
$custom-light: #e0b7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d098fa",
  "rgb": {
    "r": 208,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 274.286,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76899,
    "c": 0.14715,
    "h": 309.6
  },
  "luminance": 0.42768
}

Semantic roles & 50–950 ramp

primary
#D098FA
secondary
#E3F6D5
accent
#E60062
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D098FA

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

Preview Lab → · Contrast checker → · Palette generator →

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