#D899FB#D899FB

#D899FB is a light, vivid violet. Relative luminance 0.443; OKLCH L 77.9% C 0.150 H 312.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#D899FB
RGBrgb(216, 153, 251)
HSLhsl(279, 92%, 79%)
HSVhsv(279, 39%, 98%)
CMYKcmyk(13.9%, 39%, 0%, 1.6%)
CIE-LABlab(72.46, 40.65, -39.79)
CIE-LCHlch(72.46, 56.88, 315.61°)
OKLaboklab(77.9% 0.1017 -0.1099)
OKLCHoklch(77.9% 0.15 312.8)
XYZxyz(57.1198, 44.3475, 96.7990)
Luminance0.4435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D899FB #BCFB99
analogous
#A799FB #D899FB #FB99ED
triadic
#D899FB #FBD899 #99FBD8
tetradic
#D899FB #FBA799 #BCFB99 #99EDFB
square
#D899FB #FBA799 #BCFB99 #99EDFB
split-complementary
#D899FB #EDFB99 #99FBA7
monochromatic
#AB23F6 #C15EF9 #D899FB #EFD4FD #F4E2FE

Accessibility & contrast

On white

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

On black

9.87
#D899FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D899FB
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D899FB#FFFFFF#000000##000000
##D899FB1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AEFF
Deuteranopia (green-blind)
#96B3F8
Tritanopia (blue-blind)
#D5A7BE
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #d899fb;
/* rgb */ color: rgb(216, 153, 251);
/* oklch */ color: oklch(77.9% 0.150 312.8);
Tailwind
colors: {
  custom: {
    50: '#e5b8fd',
    500: '#d899fb',
    950: '#000000',
  },
}
SCSS
$custom: #d899fb;
$custom-light: #e5b8fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d899fb",
  "rgb": {
    "r": 216,
    "g": 153,
    "b": 251
  },
  "hsl": {
    "h": 278.571,
    "s": 92.453,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77898,
    "c": 0.14975,
    "h": 312.8
  },
  "luminance": 0.44346
}

Semantic roles & 50–950 ramp

primary
#D899FB
secondary
#E1F6D5
accent
#E60052
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D899FB

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

Preview Lab → · Contrast checker → · Palette generator →

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