#DCAFF7#DCAFF7

#DCAFF7 is a light, moderate violet. Relative luminance 0.526; OKLCH L 81.9% C 0.110 H 312.4°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#DCAFF7
RGBrgb(220, 175, 247)
HSLhsl(278, 82%, 83%)
HSVhsv(278, 29%, 97%)
CMYKcmyk(10.9%, 29.1%, 0%, 3.1%)
CIE-LABlab(77.63, 29.18, -29.59)
CIE-LCHlch(77.63, 41.56, 314.59°)
OKLaboklab(81.86% 0.0739 -0.0809)
OKLCHoklch(81.86% 0.11 312.4)
XYZxyz(61.6309, 52.5918, 94.8822)
Luminance0.5259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAFF7 #CAF7AF
analogous
#B8AFF7 #DCAFF7 #F7AFEE
triadic
#DCAFF7 #F7DCAF #AFF7DC
tetradic
#DCAFF7 #F7B8AF #CAF7AF #AFEEF7
square
#DCAFF7 #F7B8AF #CAF7AF #AFEEF7
split-complementary
#DCAFF7 #EEF7AF #AFF7B8
monochromatic
#AB40EC #C477F1 #DCAFF7 #F3E3FC #F3E3FC

Accessibility & contrast

On white

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

On black

11.52
#DCAFF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAFF7
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAFF7#FFFFFF#000000##000000
##DCAFF71.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BDFA
Deuteranopia (green-blind)
#ADC1F5
Tritanopia (blue-blind)
#DAB8C9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #dcaff7;
/* rgb */ color: rgb(220, 175, 247);
/* oklch */ color: oklch(81.9% 0.110 312.4);
Tailwind
colors: {
  custom: {
    50: '#e7c7fa',
    500: '#dcaff7',
    950: '#000000',
  },
}
SCSS
$custom: #dcaff7;
$custom-light: #e7c7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#dcaff7",
  "rgb": {
    "r": 220,
    "g": 175,
    "b": 247
  },
  "hsl": {
    "h": 277.5,
    "s": 81.818,
    "l": 82.745
  },
  "oklch": {
    "l": 0.81865,
    "c": 0.10961,
    "h": 312.4
  },
  "luminance": 0.52591
}

Semantic roles & 50–950 ramp

primary
#DCAFF7
secondary
#98D972
accent
#DE0758
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DCAFF7

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

Preview Lab → · Contrast checker → · Palette generator →

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