#DCAFFF#DCAFFF

#DCAFFF is a very light, moderate violet. Relative luminance 0.531; OKLCH L 82.2% C 0.119 H 309.6°. Best body text is #000000 at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#DCAFFF
RGBrgb(220, 175, 255)
HSLhsl(274, 100%, 84%)
HSVhsv(274, 31%, 100%)
CMYKcmyk(13.7%, 31.4%, 0%, 0%)
CIE-LABlab(77.93, 30.82, -33.44)
CIE-LCHlch(77.93, 45.48, 312.67°)
OKLaboklab(82.19% 0.076 -0.0918)
OKLCHoklch(82.19% 0.119 309.6)
XYZxyz(62.8919, 53.0963, 101.5238)
Luminance0.5310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAFFF #D2FFAF
analogous
#B4AFFF #DCAFFF #FFAFFA
triadic
#DCAFFF #FFDCAF #AFFFDC
tetradic
#DCAFFF #FFB4AF #D2FFAF #AFFAFF
square
#DCAFFF #FFB4AF #D2FFAF #AFFAFF
split-complementary
#DCAFFF #FAFFAF #AFFFB4
monochromatic
#A635FF #C172FF #DCAFFF #F2E0FF #F2E0FF

Accessibility & contrast

On white

1.81
#DCAFFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.62
#DCAFFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAFFF
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAFFF#FFFFFF#000000##000000
##DCAFFF1.001.8111.6211.62
#FFFFFF1.811.0021.0021.00
#00000011.6221.001.001.00
##00000011.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BFFF
Deuteranopia (green-blind)
#AAC1FD
Tritanopia (blue-blind)
#D8BACC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dcafff;
/* rgb */ color: rgb(220, 175, 255);
/* oklch */ color: oklch(82.2% 0.119 309.6);
Tailwind
colors: {
  custom: {
    50: '#e7c7ff',
    500: '#dcafff',
    950: '#000000',
  },
}
SCSS
$custom: #dcafff;
$custom-light: #e7c7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#dcafff",
  "rgb": {
    "r": 220,
    "g": 175,
    "b": 255
  },
  "hsl": {
    "h": 273.75,
    "s": 100,
    "l": 84.314
  },
  "oklch": {
    "l": 0.82191,
    "c": 0.11919,
    "h": 309.6
  },
  "luminance": 0.53096
}

Semantic roles & 50–950 ramp

primary
#DCAFFF
secondary
#A2E56D
accent
#E60064
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161318
muted
#848286

Preview Lab

Preview with #DCAFFF

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

Preview Lab → · Contrast checker → · Palette generator →

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