#DCAFFA#DCAFFA

#DCAFFA is a light, moderate violet. Relative luminance 0.528; OKLCH L 82.0% C 0.113 H 311.3°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#DCAFFA
RGBrgb(220, 175, 250)
HSLhsl(276, 88%, 83%)
HSVhsv(276, 30%, 98%)
CMYKcmyk(12%, 30%, 0%, 2%)
CIE-LABlab(77.74, 29.79, -31.04)
CIE-LCHlch(77.74, 43.02, 313.82°)
OKLaboklab(81.99% 0.0747 -0.085)
OKLCHoklch(81.99% 0.113 311.3)
XYZxyz(62.0975, 52.7785, 97.3399)
Luminance0.5278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAFFA #CDFAAF
analogous
#B6AFFA #DCAFFA #FAAFF2
triadic
#DCAFFA #FADCAF #AFFADC
tetradic
#DCAFFA #FAB6AF #CDFAAF #AFF2FA
square
#DCAFFA #FAB6AF #CDFAAF #AFF2FA
split-complementary
#DCAFFA #F2FAAF #AFFAB6
monochromatic
#AA3CF3 #C375F6 #DCAFFA #F2E2FD #F2E2FD

Accessibility & contrast

On white

1.82
#DCAFFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.56
#DCAFFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAFFA
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAFFA#FFFFFF#000000##000000
##DCAFFA1.001.8211.5611.56
#FFFFFF1.821.0021.0021.00
#00000011.5621.001.001.00
##00000011.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BEFD
Deuteranopia (green-blind)
#ACC1F8
Tritanopia (blue-blind)
#D9B9CA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dcaffa;
/* rgb */ color: rgb(220, 175, 250);
/* oklch */ color: oklch(82.0% 0.113 311.3);
Tailwind
colors: {
  custom: {
    50: '#e7c7fc',
    500: '#dcaffa',
    950: '#000000',
  },
}
SCSS
$custom: #dcaffa;
$custom-light: #e7c7fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dcaffa",
  "rgb": {
    "r": 220,
    "g": 175,
    "b": 250
  },
  "hsl": {
    "h": 276,
    "s": 88.235,
    "l": 83.333
  },
  "oklch": {
    "l": 0.81986,
    "c": 0.11317,
    "h": 311.3
  },
  "luminance": 0.52778
}

Semantic roles & 50–950 ramp

primary
#DCAFFA
secondary
#9CDD70
accent
#E5015C
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DCAFFA

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

Preview Lab → · Contrast checker → · Palette generator →

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