#DDABFC#DDABFC

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

Color values

HEX#DDABFC
RGBrgb(221, 171, 252)
HSLhsl(277, 93%, 83%)
HSVhsv(277, 32%, 99%)
CMYKcmyk(12.3%, 32.1%, 0%, 1.2%)
CIE-LABlab(77.00, 32.66, -33.26)
CIE-LCHlch(77.00, 46.62, 314.48°)
OKLaboklab(81.46% 0.0821 -0.0913)
OKLCHoklch(81.46% 0.123 312)
XYZxyz(61.9494, 51.5271, 98.7588)
Luminance0.5153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDABFC #CAFCAB
analogous
#B4ABFC #DDABFC #FCABF2
triadic
#DDABFC #FCDDAB #ABFCDD
tetradic
#DDABFC #FCB4AB #CAFCAB #ABF2FC
square
#DDABFC #FCB4AB #CAFCAB #ABF2FC
split-complementary
#DDABFC #F2FCAB #ABFCB4
monochromatic
#AD35F8 #C570FA #DDABFC #F3E1FE #F3E1FE

Accessibility & contrast

On white

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

On black

11.31
#DDABFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDABFC
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDABFC#FFFFFF#000000##000000
##DDABFC1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ddabfc;
/* rgb */ color: rgb(221, 171, 252);
/* oklch */ color: oklch(81.5% 0.123 312.0);
Tailwind
colors: {
  custom: {
    50: '#e8c4fd',
    500: '#ddabfc',
    950: '#000000',
  },
}
SCSS
$custom: #ddabfc;
$custom-light: #e8c4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#ddabfc",
  "rgb": {
    "r": 221,
    "g": 171,
    "b": 252
  },
  "hsl": {
    "h": 277.037,
    "s": 93.103,
    "l": 82.941
  },
  "oklch": {
    "l": 0.81463,
    "c": 0.12273,
    "h": 312
  },
  "luminance": 0.51526
}

Semantic roles & 50–950 ramp

primary
#DDABFC
secondary
#98E06B
accent
#E60058
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DDABFC

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

Preview Lab → · Contrast checker → · Palette generator →

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