#D2ACFE#D2ACFE

#D2ACFE is a light, moderate violet. Relative luminance 0.504; OKLCH L 80.7% C 0.120 H 305.1°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#D2ACFE
RGBrgb(210, 172, 254)
HSLhsl(268, 98%, 84%)
HSVhsv(268, 32%, 100%)
CMYKcmyk(17.3%, 32.3%, 0%, 0.4%)
CIE-LABlab(76.29, 29.24, -35.51)
CIE-LCHlch(76.29, 46.00, 309.47°)
OKLaboklab(80.71% 0.0688 -0.0979)
OKLCHoklch(80.71% 0.12 305.1)
XYZxyz(59.2167, 50.3627, 100.3480)
Luminance0.5036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2ACFE #D8FEAC
analogous
#ACAFFE #D2ACFE #FBACFE
triadic
#D2ACFE #FED2AC #ACFED2
tetradic
#D2ACFE #FEACAF #D8FEAC #ACFEFB
square
#D2ACFE #FEACAF #D8FEAC #ACFEFB
split-complementary
#D2ACFE #FEFBAC #AFFEAC
monochromatic
#9033FD #B170FD #D2ACFE #EFE1FF #EFE1FF

Accessibility & contrast

On white

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

On black

11.07
#D2ACFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2ACFE
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2ACFE#FFFFFF#000000##000000
##D2ACFE1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BBBFF
Deuteranopia (green-blind)
#A3BCFC
Tritanopia (blue-blind)
#CBB8CA
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2acfe;
/* rgb */ color: rgb(210, 172, 254);
/* oklch */ color: oklch(80.7% 0.120 305.1);
Tailwind
colors: {
  custom: {
    50: '#e1c5ff',
    500: '#d2acfe',
    950: '#000000',
  },
}
SCSS
$custom: #d2acfe;
$custom-light: #e1c5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d2acfe",
  "rgb": {
    "r": 210,
    "g": 172,
    "b": 254
  },
  "hsl": {
    "h": 267.805,
    "s": 97.619,
    "l": 83.529
  },
  "oklch": {
    "l": 0.80713,
    "c": 0.11962,
    "h": 305.1
  },
  "luminance": 0.50362
}

Semantic roles & 50–950 ramp

primary
#D2ACFE
secondary
#ABE36B
accent
#E6007B
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151318
muted
#848286

Preview Lab

Preview with #D2ACFE

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

Preview Lab → · Contrast checker → · Palette generator →

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