#DDABFA#DDABFA

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

Color values

HEX#DDABFA
RGBrgb(221, 171, 250)
HSLhsl(278, 89%, 83%)
HSVhsv(278, 32%, 98%)
CMYKcmyk(11.6%, 31.6%, 0%, 2%)
CIE-LABlab(76.92, 32.25, -32.30)
CIE-LCHlch(76.92, 45.65, 314.96°)
OKLaboklab(81.38% 0.0816 -0.0885)
OKLCHoklch(81.38% 0.12 312.7)
XYZxyz(61.6342, 51.4010, 97.0985)
Luminance0.5140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDABFA #C8FAAB
analogous
#B6ABFA #DDABFA #FAABEF
triadic
#DDABFA #FADDAB #ABFADD
tetradic
#DDABFA #FAB6AB #C8FAAB #ABEFFA
square
#DDABFA #FAB6AB #C8FAAB #ABEFFA
split-complementary
#DDABFA #EFFAAB #ABFAB6
monochromatic
#AE37F3 #C671F7 #DDABFA #F3E2FD #F3E2FD

Accessibility & contrast

On white

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

On black

11.28
#DDABFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDABFA
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDABFA#FFFFFF#000000##000000
##DDABFA1.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ddabfa;
/* rgb */ color: rgb(221, 171, 250);
/* oklch */ color: oklch(81.4% 0.120 312.7);
Tailwind
colors: {
  custom: {
    50: '#e8c4fc',
    500: '#ddabfa',
    950: '#000000',
  },
}
SCSS
$custom: #ddabfa;
$custom-light: #e8c4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#ddabfa",
  "rgb": {
    "r": 221,
    "g": 171,
    "b": 250
  },
  "hsl": {
    "h": 277.975,
    "s": 88.764,
    "l": 82.549
  },
  "oklch": {
    "l": 0.8138,
    "c": 0.12039,
    "h": 312.7
  },
  "luminance": 0.514
}

Semantic roles & 50–950 ramp

primary
#DDABFA
secondary
#96DD6C
accent
#E50054
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161217
muted
#848285

Preview Lab

Preview with #DDABFA

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

Preview Lab → · Contrast checker → · Palette generator →

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