#D6AFFC#D6AFFC

#D6AFFC is a light, moderate violet. Relative luminance 0.520; OKLCH L 81.5% C 0.113 H 307.2°. Best body text is #000000 at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#D6AFFC
RGBrgb(214, 175, 252)
HSLhsl(270, 93%, 84%)
HSVhsv(270, 31%, 99%)
CMYKcmyk(15.1%, 30.6%, 0%, 1.2%)
CIE-LABlab(77.27, 28.38, -32.89)
CIE-LCHlch(77.27, 43.44, 310.79°)
OKLaboklab(81.52% 0.0685 -0.0903)
OKLCHoklch(81.52% 0.113 307.2)
XYZxyz(60.6289, 51.9848, 98.9166)
Luminance0.5198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6AFFC #D5FCAF
analogous
#AFAFFC #D6AFFC #FCAFFB
triadic
#D6AFFC #FCD6AF #AFFCD6
tetradic
#D6AFFC #FCAFAF #D5FCAF #AFFBFC
square
#D6AFFC #FCAFAF #D5FCAF #AFFBFC
split-complementary
#D6AFFC #FBFCAF #AFFCAF
monochromatic
#9A39F8 #B874FA #D6AFFC #F0E2FE #F0E2FE

Accessibility & contrast

On white

1.84
#D6AFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.40
#D6AFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6AFFC
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6AFFC#FFFFFF#000000##000000
##D6AFFC1.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1BDFF
Deuteranopia (green-blind)
#A8BFFA
Tritanopia (blue-blind)
#D1BACB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d6affc;
/* rgb */ color: rgb(214, 175, 252);
/* oklch */ color: oklch(81.5% 0.113 307.2);
Tailwind
colors: {
  custom: {
    50: '#e3c7fd',
    500: '#d6affc',
    950: '#000000',
  },
}
SCSS
$custom: #d6affc;
$custom-light: #e3c7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d6affc",
  "rgb": {
    "r": 214,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 270.39,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.81521,
    "c": 0.1134,
    "h": 307.2
  },
  "luminance": 0.51984
}

Semantic roles & 50–950 ramp

primary
#D6AFFC
secondary
#A7E06F
accent
#E60071
background
#FEFDFF
surface
#FCF9FF
border
#D5D2D7
text
#151317
muted
#848285

Preview Lab

Preview with #D6AFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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