#D0AFFA#D0AFFA

#D0AFFA is a light, moderate violet. Relative luminance 0.510; OKLCH L 80.9% C 0.109 H 304.2°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#D0AFFA
RGBrgb(208, 175, 250)
HSLhsl(266, 88%, 83%)
HSVhsv(266, 30%, 98%)
CMYKcmyk(16.8%, 30%, 0%, 2%)
CIE-LABlab(76.66, 26.14, -32.80)
CIE-LCHlch(76.66, 41.94, 308.55°)
OKLaboklab(80.9% 0.0613 -0.0902)
OKLCHoklch(80.9% 0.109 304.2)
XYZxyz(58.5943, 50.9721, 97.1757)
Luminance0.5097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0AFFA #D9FAAF
analogous
#AFB3FA #D0AFFA #F5AFFA
triadic
#D0AFFA #FAD0AF #AFFAD0
tetradic
#D0AFFA #FAAFB3 #D9FAAF #AFFAF5
square
#D0AFFA #FAAFB3 #D9FAAF #AFFAF5
split-complementary
#D0AFFA #FAF5AF #B3FAAF
monochromatic
#8C3CF3 #AE75F6 #D0AFFA #EEE2FD #EEE2FD

Accessibility & contrast

On white

1.88
#D0AFFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#D0AFFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0AFFA
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0AFFA#FFFFFF#000000##000000
##D0AFFA1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0BCFD
Deuteranopia (green-blind)
#A6BDF8
Tritanopia (blue-blind)
#CABACA
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d0affa;
/* rgb */ color: rgb(208, 175, 250);
/* oklch */ color: oklch(80.9% 0.109 304.2);
Tailwind
colors: {
  custom: {
    50: '#dfc7fc',
    500: '#d0affa',
    950: '#000000',
  },
}
SCSS
$custom: #d0affa;
$custom-light: #dfc7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d0affa",
  "rgb": {
    "r": 208,
    "g": 175,
    "b": 250
  },
  "hsl": {
    "h": 266.4,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.80903,
    "c": 0.10906,
    "h": 304.2
  },
  "luminance": 0.50972
}

Semantic roles & 50–950 ramp

primary
#D0AFFA
secondary
#ADDD70
accent
#E50180
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D0AFFA

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

Preview Lab → · Contrast checker → · Palette generator →

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