#DCAFF2#DCAFF2

#DCAFF2 is a light, moderate purple. Relative luminance 0.523; OKLCH L 81.7% C 0.104 H 314.4°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#DCAFF2
RGBrgb(220, 175, 242)
HSLhsl(280, 72%, 82%)
HSVhsv(280, 28%, 95%)
CMYKcmyk(9.1%, 27.7%, 0%, 5.1%)
CIE-LABlab(77.45, 28.17, -27.18)
CIE-LCHlch(77.45, 39.14, 316.03°)
OKLaboklab(81.67% 0.0726 -0.0741)
OKLCHoklch(81.67% 0.104 314.4)
XYZxyz(60.8696, 52.2873, 90.8731)
Luminance0.5229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAFF2 #C5F2AF
analogous
#BBAFF2 #DCAFF2 #F2AFE6
triadic
#DCAFF2 #F2DCAF #AFF2DC
tetradic
#DCAFF2 #F2BBAF #C5F2AF #AFE6F2
square
#DCAFF2 #F2BBAF #C5F2AF #AFE6F2
split-complementary
#DCAFF2 #E6F2AF #AFF2BB
monochromatic
#AE46E1 #C57AE9 #DCAFF2 #F3E4FB #F3E5FB

Accessibility & contrast

On white

1.83
#DCAFF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#DCAFF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAFF2
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAFF2#FFFFFF#000000##000000
##DCAFF21.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5BDF5
Deuteranopia (green-blind)
#AFC1F0
Tritanopia (blue-blind)
#DBB7C7
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #dcaff2;
/* rgb */ color: rgb(220, 175, 242);
/* oklch */ color: oklch(81.7% 0.104 314.4);
Tailwind
colors: {
  custom: {
    50: '#e7c7f6',
    500: '#dcaff2',
    950: '#000000',
  },
}
SCSS
$custom: #dcaff2;
$custom-light: #e7c7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dcaff2",
  "rgb": {
    "r": 220,
    "g": 175,
    "b": 242
  },
  "hsl": {
    "h": 280.299,
    "s": 72.043,
    "l": 81.765
  },
  "oklch": {
    "l": 0.81666,
    "c": 0.10371,
    "h": 314.4
  },
  "luminance": 0.52286
}

Semantic roles & 50–950 ramp

primary
#DCAFF2
secondary
#93D174
accent
#D41151
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#161317
muted
#848285

Preview Lab

Preview with #DCAFF2

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

Preview Lab → · Contrast checker → · Palette generator →

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