#DCABFB#DCABFB

#DCABFB is a light, vivid violet. Relative luminance 0.513; OKLCH L 81.3% C 0.121 H 311.8°. Best body text is #000000 at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#DCABFB
RGBrgb(220, 171, 251)
HSLhsl(277, 91%, 83%)
HSVhsv(277, 32%, 98%)
CMYKcmyk(12.4%, 31.9%, 0%, 1.6%)
CIE-LABlab(76.86, 32.15, -32.93)
CIE-LCHlch(76.86, 46.03, 314.32°)
OKLaboklab(81.33% 0.0807 -0.0903)
OKLCHoklch(81.33% 0.121 311.8)
XYZxyz(61.4877, 51.3074, 97.9122)
Luminance0.5131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCABFB #CAFBAB
analogous
#B4ABFB #DCABFB #FBABF2
triadic
#DCABFB #FBDCAB #ABFBDC
tetradic
#DCABFB #FBB4AB #CAFBAB #ABF2FB
square
#DCABFB #FBB4AB #CAFBAB #ABF2FB
split-complementary
#DCABFB #F2FBAB #ABFBB4
monochromatic
#AB36F5 #C471F8 #DCABFB #F3E2FE #F3E2FE

Accessibility & contrast

On white

1.86
#DCABFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.26
#DCABFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCABFB
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCABFB#FFFFFF#000000##000000
##DCABFB1.001.8611.2611.26
#FFFFFF1.861.0021.0021.00
#00000011.2621.001.001.00
##00000011.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9EBBFE
Deuteranopia (green-blind)
#A8BFF9
Tritanopia (blue-blind)
#D9B6C8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #dcabfb;
/* rgb */ color: rgb(220, 171, 251);
/* oklch */ color: oklch(81.3% 0.121 311.8);
Tailwind
colors: {
  custom: {
    50: '#e7c4fd',
    500: '#dcabfb',
    950: '#000000',
  },
}
SCSS
$custom: #dcabfb;
$custom-light: #e7c4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dcabfb",
  "rgb": {
    "r": 220,
    "g": 171,
    "b": 251
  },
  "hsl": {
    "h": 276.75,
    "s": 90.909,
    "l": 82.745
  },
  "oklch": {
    "l": 0.81327,
    "c": 0.12114,
    "h": 311.8
  },
  "luminance": 0.51306
}

Semantic roles & 50–950 ramp

primary
#DCABFB
secondary
#98DE6C
accent
#E60059
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161217
muted
#848285

Preview Lab

Preview with #DCABFB

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

Preview Lab → · Contrast checker → · Palette generator →

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