#DCABFA#DCABFA

#DCABFA is a light, moderate violet. Relative luminance 0.512; OKLCH L 81.3% C 0.120 H 312.1°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#DCABFA
RGBrgb(220, 171, 250)
HSLhsl(277, 89%, 83%)
HSVhsv(277, 32%, 98%)
CMYKcmyk(12%, 31.6%, 0%, 2%)
CIE-LABlab(76.83, 31.95, -32.45)
CIE-LCHlch(76.83, 45.54, 314.55°)
OKLaboklab(81.29% 0.0804 -0.089)
OKLCHoklch(81.29% 0.12 312.1)
XYZxyz(61.3305, 51.2445, 97.0842)
Luminance0.5124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCABFA #C9FAAB
analogous
#B4ABFA #DCABFA #FAABF1
triadic
#DCABFA #FADCAB #ABFADC
tetradic
#DCABFA #FAB4AB #C9FAAB #ABF1FA
square
#DCABFA #FAB4AB #C9FAAB #ABF1FA
split-complementary
#DCABFA #F1FAAB #ABFAB4
monochromatic
#AC37F3 #C471F7 #DCABFA #F3E2FD #F3E2FD

Accessibility & contrast

On white

1.87
#DCABFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#DCABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCABFA
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCABFA#FFFFFF#000000##000000
##DCABFA1.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBBFD
Deuteranopia (green-blind)
#A9BFF8
Tritanopia (blue-blind)
#D9B5C8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dcabfa;
/* rgb */ color: rgb(220, 171, 250);
/* oklch */ color: oklch(81.3% 0.120 312.1);
Tailwind
colors: {
  custom: {
    50: '#e7c4fc',
    500: '#dcabfa',
    950: '#000000',
  },
}
SCSS
$custom: #dcabfa;
$custom-light: #e7c4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dcabfa",
  "rgb": {
    "r": 220,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 277.215,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.81286,
    "c": 0.11996,
    "h": 312.1
  },
  "luminance": 0.51244
}

Semantic roles & 50–950 ramp

primary
#DCABFA
secondary
#97DD6C
accent
#E50057
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#161217
muted
#848285

Preview Lab

Preview with #DCABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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