#DDAFF7#DDAFF7

#DDAFF7 is a light, moderate violet. Relative luminance 0.527; OKLCH L 82.0% C 0.110 H 313.0°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#DDAFF7
RGBrgb(221, 175, 247)
HSLhsl(278, 82%, 83%)
HSVhsv(278, 29%, 97%)
CMYKcmyk(10.5%, 29.1%, 0%, 3.1%)
CIE-LABlab(77.73, 29.49, -29.44)
CIE-LCHlch(77.73, 41.67, 315.04°)
OKLaboklab(81.96% 0.0751 -0.0805)
OKLCHoklch(81.96% 0.11 313)
XYZxyz(61.9345, 52.7484, 94.8964)
Luminance0.5275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DDAFF7 #C9F7AF
analogous
#B9AFF7 #DDAFF7 #F7AFED
triadic
#DDAFF7 #F7DDAF #AFF7DD
tetradic
#DDAFF7 #F7B9AF #C9F7AF #AFEDF7
square
#DDAFF7 #F7B9AF #C9F7AF #AFEDF7
split-complementary
#DDAFF7 #EDF7AF #AFF7B9
monochromatic
#AE40EC #C577F1 #DDAFF7 #F3E3FC #F3E3FC

Accessibility & contrast

On white

1.82
#DDAFF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#DDAFF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DDAFF7
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DDAFF7#FFFFFF#000000##000000
##DDAFF71.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BEFA
Deuteranopia (green-blind)
#AEC1F5
Tritanopia (blue-blind)
#DBB8C9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #ddaff7;
/* rgb */ color: rgb(221, 175, 247);
/* oklch */ color: oklch(82.0% 0.110 313.0);
Tailwind
colors: {
  custom: {
    50: '#e8c7fa',
    500: '#ddaff7',
    950: '#000000',
  },
}
SCSS
$custom: #ddaff7;
$custom-light: #e8c7fa;
$custom-dark: #000000;
JSON
{
  "hex": "#ddaff7",
  "rgb": {
    "r": 221,
    "g": 175,
    "b": 247
  },
  "hsl": {
    "h": 278.333,
    "s": 81.818,
    "l": 82.745
  },
  "oklch": {
    "l": 0.81957,
    "c": 0.11004,
    "h": 313
  },
  "luminance": 0.52747
}

Semantic roles & 50–950 ramp

primary
#DDAFF7
secondary
#97D972
accent
#DE0755
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DDAFF7

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

Preview Lab → · Contrast checker → · Palette generator →

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