#D4AFF1#D4AFF1

#D4AFF1 is a light, moderate violet. Relative luminance 0.510; OKLCH L 80.9% C 0.099 H 309.8°. Best body text is #000000 at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#D4AFF1
RGBrgb(212, 175, 241)
HSLhsl(274, 70%, 82%)
HSVhsv(274, 27%, 95%)
CMYKcmyk(12%, 27.4%, 0%, 5.5%)
CIE-LABlab(76.68, 25.46, -27.88)
CIE-LCHlch(76.68, 37.76, 312.41°)
OKLaboklab(80.89% 0.0634 -0.0762)
OKLCHoklch(80.89% 0.099 309.8)
XYZxyz(58.3557, 51.0084, 89.9734)
Luminance0.5101 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4AFF1 #CCF1AF
analogous
#B3AFF1 #D4AFF1 #F1AFED
triadic
#D4AFF1 #F1D4AF #AFF1D4
tetradic
#D4AFF1 #F1B3AF #CCF1AF #AFEDF1
square
#D4AFF1 #F1B3AF #CCF1AF #AFEDF1
split-complementary
#D4AFF1 #EDF1AF #AFF1B3
monochromatic
#9C47DF #B87BE8 #D4AFF1 #F0E3FA #F1E5FA

Accessibility & contrast

On white

1.87
#D4AFF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.20
#D4AFF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4AFF1
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4AFF1#FFFFFF#000000##000000
##D4AFF11.001.8711.2011.20
#FFFFFF1.871.0021.0021.00
#00000011.2021.001.001.00
##00000011.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4BBF4
Deuteranopia (green-blind)
#ACBEEF
Tritanopia (blue-blind)
#D1B8C6
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #d4aff1;
/* rgb */ color: rgb(212, 175, 241);
/* oklch */ color: oklch(80.9% 0.099 309.8);
Tailwind
colors: {
  custom: {
    50: '#e2c7f5',
    500: '#d4aff1',
    950: '#000000',
  },
}
SCSS
$custom: #d4aff1;
$custom-light: #e2c7f5;
$custom-dark: #000000;
JSON
{
  "hex": "#d4aff1",
  "rgb": {
    "r": 212,
    "g": 175,
    "b": 241
  },
  "hsl": {
    "h": 273.636,
    "s": 70.213,
    "l": 81.569
  },
  "oklch": {
    "l": 0.80894,
    "c": 0.09909,
    "h": 309.8
  },
  "luminance": 0.51008
}

Semantic roles & 50–950 ramp

primary
#D4AFF1
secondary
#9DD074
accent
#D21367
background
#FEFDFF
surface
#FCF9FE
border
#D5D2D6
text
#151317
muted
#848285

Preview Lab

Preview with #D4AFF1

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

Preview Lab → · Contrast checker → · Palette generator →

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