#D0AFFC#D0AFFC

#D0AFFC is a light, moderate violet. Relative luminance 0.511; OKLCH L 81.0% C 0.112 H 303.6°. Best body text is #000000 at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#D0AFFC
RGBrgb(208, 175, 252)
HSLhsl(266, 93%, 84%)
HSVhsv(266, 31%, 99%)
CMYKcmyk(17.5%, 30.6%, 0%, 1.2%)
CIE-LABlab(76.74, 26.57, -33.76)
CIE-LCHlch(76.74, 42.96, 308.21°)
OKLaboklab(80.99% 0.0618 -0.0929)
OKLCHoklch(80.99% 0.112 303.6)
XYZxyz(58.9095, 51.0982, 98.8361)
Luminance0.5110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AFFC #DBFCAF
analogous
#AFB4FC #D0AFFC #F6AFFC
triadic
#D0AFFC #FCD0AF #AFFCD0
tetradic
#D0AFFC #FCAFB4 #DBFCAF #AFFCF6
square
#D0AFFC #FCAFB4 #DBFCAF #AFFCF6
split-complementary
#D0AFFC #FCF6AF #B4FCAF
monochromatic
#8B39F8 #AD74FA #D0AFFC #EEE2FE #EEE2FE

Accessibility & contrast

On white

1.87
#D0AFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.22
#D0AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0AFFC
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0AFFC#FFFFFF#000000##000000
##D0AFFC1.001.8711.2211.22
#FFFFFF1.871.0021.0021.00
#00000011.2221.001.001.00
##00000011.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FBCFF
Deuteranopia (green-blind)
#A5BDFA
Tritanopia (blue-blind)
#C9BACB
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d0affc;
/* rgb */ color: rgb(208, 175, 252);
/* oklch */ color: oklch(81.0% 0.112 303.6);
Tailwind
colors: {
  custom: {
    50: '#dfc7fd',
    500: '#d0affc',
    950: '#000000',
  },
}
SCSS
$custom: #d0affc;
$custom-light: #dfc7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d0affc",
  "rgb": {
    "r": 208,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 265.714,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.80987,
    "c": 0.11161,
    "h": 303.6
  },
  "luminance": 0.51098
}

Semantic roles & 50–950 ramp

primary
#D0AFFC
secondary
#B0E06F
accent
#E60083
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D0AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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