#D2ACFD#D2ACFD

#D2ACFD is a light, moderate violet. Relative luminance 0.503; OKLCH L 80.7% C 0.118 H 305.4°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#D2ACFD
RGBrgb(210, 172, 253)
HSLhsl(268, 95%, 83%)
HSVhsv(268, 32%, 99%)
CMYKcmyk(17%, 32%, 0%, 0.8%)
CIE-LABlab(76.25, 29.02, -35.03)
CIE-LCHlch(76.25, 45.49, 309.64°)
OKLaboklab(80.67% 0.0686 -0.0965)
OKLCHoklch(80.67% 0.118 305.4)
XYZxyz(59.0570, 50.2988, 99.5069)
Luminance0.5030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2ACFD #D7FDAC
analogous
#ACAEFD #D2ACFD #FAACFD
triadic
#D2ACFD #FDD2AC #ACFDD2
tetradic
#D2ACFD #FDACAE #D7FDAC #ACFDFA
square
#D2ACFD #FDACAE #D7FDAC #ACFDFA
split-complementary
#D2ACFD #FDFAAC #AEFDAC
monochromatic
#9134FA #B270FC #D2ACFD #EFE1FE #EFE1FE

Accessibility & contrast

On white

1.90
#D2ACFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#D2ACFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2ACFD
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2ACFD#FFFFFF#000000##000000
##D2ACFD1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CBBFF
Deuteranopia (green-blind)
#A3BCFB
Tritanopia (blue-blind)
#CCB8C9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2acfd;
/* rgb */ color: rgb(210, 172, 253);
/* oklch */ color: oklch(80.7% 0.118 305.4);
Tailwind
colors: {
  custom: {
    50: '#e0c5fe',
    500: '#d2acfd',
    950: '#000000',
  },
}
SCSS
$custom: #d2acfd;
$custom-light: #e0c5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d2acfd",
  "rgb": {
    "r": 210,
    "g": 172,
    "b": 253
  },
  "hsl": {
    "h": 268.148,
    "s": 95.294,
    "l": 83.333
  },
  "oklch": {
    "l": 0.8067,
    "c": 0.11836,
    "h": 305.4
  },
  "luminance": 0.50299
}

Semantic roles & 50–950 ramp

primary
#D2ACFD
secondary
#AAE26C
accent
#E6007A
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #D2ACFD

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

Preview Lab → · Contrast checker → · Palette generator →

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