#D2ACFC#D2ACFC

#D2ACFC is a light, moderate violet. Relative luminance 0.502; OKLCH L 80.6% C 0.117 H 305.7°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#D2ACFC
RGBrgb(210, 172, 252)
HSLhsl(269, 93%, 83%)
HSVhsv(269, 32%, 99%)
CMYKcmyk(16.7%, 31.7%, 0%, 1.2%)
CIE-LABlab(76.21, 28.80, -34.55)
CIE-LCHlch(76.21, 44.98, 309.82°)
OKLaboklab(80.63% 0.0683 -0.0951)
OKLCHoklch(80.63% 0.117 305.7)
XYZxyz(58.8981, 50.2353, 98.6701)
Luminance0.5023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2ACFC #D6FCAC
analogous
#ACAEFC #D2ACFC #FAACFC
triadic
#D2ACFC #FCD2AC #ACFCD2
tetradic
#D2ACFC #FCACAE #D6FCAC #ACFCFA
square
#D2ACFC #FCACAE #D6FCAC #ACFCFA
split-complementary
#D2ACFC #FCFAAC #AEFCAC
monochromatic
#9236F8 #B271FA #D2ACFC #EFE1FE #EFE1FE

Accessibility & contrast

On white

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

On black

11.05
#D2ACFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2ACFC
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2ACFC#FFFFFF#000000##000000
##D2ACFC1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2acfc;
/* rgb */ color: rgb(210, 172, 252);
/* oklch */ color: oklch(80.6% 0.117 305.7);
Tailwind
colors: {
  custom: {
    50: '#e0c5fd',
    500: '#d2acfc',
    950: '#000000',
  },
}
SCSS
$custom: #d2acfc;
$custom-light: #e0c5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d2acfc",
  "rgb": {
    "r": 210,
    "g": 172,
    "b": 252
  },
  "hsl": {
    "h": 268.5,
    "s": 93.023,
    "l": 83.137
  },
  "oklch": {
    "l": 0.80628,
    "c": 0.11712,
    "h": 305.7
  },
  "luminance": 0.50235
}

Semantic roles & 50–950 ramp

primary
#D2ACFC
secondary
#A9E06C
accent
#E60078
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D2ACFC

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

Preview Lab → · Contrast checker → · Palette generator →

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