#DCAAFB#DCAAFB

#DCAAFB is a light, vivid violet. Relative luminance 0.509; OKLCH L 81.2% C 0.123 H 312.0°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#DCAAFB
RGBrgb(220, 170, 251)
HSLhsl(277, 91%, 83%)
HSVhsv(277, 32%, 98%)
CMYKcmyk(12.4%, 32.3%, 0%, 1.6%)
CIE-LABlab(76.64, 32.69, -33.28)
CIE-LCHlch(76.64, 46.66, 314.49°)
OKLaboklab(81.15% 0.0821 -0.0913)
OKLCHoklch(81.15% 0.123 312)
XYZxyz(61.2996, 50.9310, 97.8495)
Luminance0.5093 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCAAFB #C9FBAA
analogous
#B3AAFB #DCAAFB #FBAAF1
triadic
#DCAAFB #FBDCAA #AAFBDC
tetradic
#DCAAFB #FBB3AA #C9FBAA #AAF1FB
square
#DCAAFB #FBB3AA #C9FBAA #AAF1FB
split-complementary
#DCAAFB #F1FBAA #AAFBB3
monochromatic
#AC35F5 #C470F8 #DCAAFB #F3E2FE #F3E2FE

Accessibility & contrast

On white

1.88
#DCAAFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#DCAAFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCAAFB
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCAAFB#FFFFFF#000000##000000
##DCAAFB1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBAFE
Deuteranopia (green-blind)
#A7BEF9
Tritanopia (blue-blind)
#D9B5C8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #dcaafb;
/* rgb */ color: rgb(220, 170, 251);
/* oklch */ color: oklch(81.2% 0.123 312.0);
Tailwind
colors: {
  custom: {
    50: '#e8c3fd',
    500: '#dcaafb',
    950: '#000000',
  },
}
SCSS
$custom: #dcaafb;
$custom-light: #e8c3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dcaafb",
  "rgb": {
    "r": 220,
    "g": 170,
    "b": 251
  },
  "hsl": {
    "h": 277.037,
    "s": 91.011,
    "l": 82.549
  },
  "oklch": {
    "l": 0.81154,
    "c": 0.12283,
    "h": 312
  },
  "luminance": 0.5093
}

Semantic roles & 50–950 ramp

primary
#DCAAFB
secondary
#97DE6B
accent
#E60058
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161217
muted
#848285

Preview Lab

Preview with #DCAAFB

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

Preview Lab → · Contrast checker → · Palette generator →

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