#DCAFFB#DCAFFB

#DCAFFB is a very light, moderate violet. Relative luminance 0.528; OKLCH L 82.0% C 0.114 H 311.0°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#DCAFFB
RGBrgb(220, 175, 251)
HSLhsl(276, 90%, 84%)
HSVhsv(276, 30%, 98%)
CMYKcmyk(12.4%, 30.3%, 0%, 1.6%)
CIE-LABlab(77.78, 30.00, -31.52)
CIE-LCHlch(77.78, 43.51, 313.58°)
OKLaboklab(82.03% 0.075 -0.0864)
OKLCHoklch(82.03% 0.114 311)
XYZxyz(62.2547, 52.8414, 98.1679)
Luminance0.5284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAFFB #CEFBAF
analogous
#B6AFFB #DCAFFB #FBAFF4
triadic
#DCAFFB #FBDCAF #AFFBDC
tetradic
#DCAFFB #FBB6AF #CEFBAF #AFF4FB
square
#DCAFFB #FBB6AF #CEFBAF #AFF4FB
split-complementary
#DCAFFB #F4FBAF #AFFBB6
monochromatic
#A93AF5 #C275F8 #DCAFFB #F2E2FE #F2E2FE

Accessibility & contrast

On white

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

On black

11.57
#DCAFFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAFFB
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAFFB#FFFFFF#000000##000000
##DCAFFB1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcaffb;
/* rgb */ color: rgb(220, 175, 251);
/* oklch */ color: oklch(82.0% 0.114 311.0);
Tailwind
colors: {
  custom: {
    50: '#e7c7fd',
    500: '#dcaffb',
    950: '#000000',
  },
}
SCSS
$custom: #dcaffb;
$custom-light: #e7c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dcaffb",
  "rgb": {
    "r": 220,
    "g": 175,
    "b": 251
  },
  "hsl": {
    "h": 275.526,
    "s": 90.476,
    "l": 83.529
  },
  "oklch": {
    "l": 0.82027,
    "c": 0.11438,
    "h": 311
  },
  "luminance": 0.52841
}

Semantic roles & 50–950 ramp

primary
#DCAFFB
secondary
#9DDF6F
accent
#E6005E
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DCAFFB

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

Preview Lab → · Contrast checker → · Palette generator →

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