#DCABFC#DCABFC

#DCABFC is a light, vivid violet. Relative luminance 0.514; OKLCH L 81.4% C 0.122 H 311.4°. Best body text is #000000 at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#DCABFC
RGBrgb(220, 171, 252)
HSLhsl(276, 93%, 83%)
HSVhsv(276, 32%, 99%)
CMYKcmyk(12.7%, 32.1%, 0%, 1.2%)
CIE-LABlab(76.90, 32.36, -33.41)
CIE-LCHlch(76.90, 46.51, 314.08°)
OKLaboklab(81.37% 0.0809 -0.0917)
OKLCHoklch(81.37% 0.122 311.4)
XYZxyz(61.6458, 51.3706, 98.7446)
Luminance0.5137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCABFC #CBFCAB
analogous
#B3ABFC #DCABFC #FCABF4
triadic
#DCABFC #FCDCAB #ABFCDC
tetradic
#DCABFC #FCB3AB #CBFCAB #ABF4FC
square
#DCABFC #FCB3AB #CBFCAB #ABF4FC
split-complementary
#DCABFC #F4FCAB #ABFCB3
monochromatic
#AB35F8 #C370FA #DCABFC #F3E1FE #F3E1FE

Accessibility & contrast

On white

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

On black

11.27
#DCABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCABFC
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCABFC#FFFFFF#000000##000000
##DCABFC1.001.8611.2711.27
#FFFFFF1.861.0021.0021.00
#00000011.2721.001.001.00
##00000011.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dcabfc;
/* rgb */ color: rgb(220, 171, 252);
/* oklch */ color: oklch(81.4% 0.122 311.4);
Tailwind
colors: {
  custom: {
    50: '#e7c4fd',
    500: '#dcabfc',
    950: '#000000',
  },
}
SCSS
$custom: #dcabfc;
$custom-light: #e7c4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dcabfc",
  "rgb": {
    "r": 220,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 276.296,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.81369,
    "c": 0.12233,
    "h": 311.4
  },
  "luminance": 0.5137
}

Semantic roles & 50–950 ramp

primary
#DCABFC
secondary
#99E06B
accent
#E6005B
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161217
muted
#848285

Preview Lab

Preview with #DCABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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