#DFAFFC#DFAFFC

#DFAFFC is a very light, moderate violet. Relative luminance 0.534; OKLCH L 82.3% C 0.117 H 312.3°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#DFAFFC
RGBrgb(223, 175, 252)
HSLhsl(277, 93%, 84%)
HSVhsv(277, 31%, 99%)
CMYKcmyk(11.5%, 30.6%, 0%, 1.2%)
CIE-LABlab(78.10, 31.12, -31.55)
CIE-LCHlch(78.10, 44.31, 314.61°)
OKLaboklab(82.35% 0.0786 -0.0864)
OKLCHoklch(82.35% 0.117 312.3)
XYZxyz(63.3291, 53.3771, 99.0432)
Luminance0.5338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DFAFFC #CCFCAF
analogous
#B8AFFC #DFAFFC #FCAFF2
triadic
#DFAFFC #FCDFAF #AFFCDF
tetradic
#DFAFFC #FCB8AF #CCFCAF #AFF2FC
square
#DFAFFC #FCB8AF #CCFCAF #AFF2FC
split-complementary
#DFAFFC #F2FCAF #AFFCB8
monochromatic
#B039F8 #C774FA #DFAFFC #F3E2FE #F3E2FE

Accessibility & contrast

On white

1.80
#DFAFFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#DFAFFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DFAFFC
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DFAFFC#FFFFFF#000000##000000
##DFAFFC1.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3BFFF
Deuteranopia (green-blind)
#ADC2FA
Tritanopia (blue-blind)
#DDB9CB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #dfaffc;
/* rgb */ color: rgb(223, 175, 252);
/* oklch */ color: oklch(82.3% 0.117 312.3);
Tailwind
colors: {
  custom: {
    50: '#eac7fd',
    500: '#dfaffc',
    950: '#000000',
  },
}
SCSS
$custom: #dfaffc;
$custom-light: #eac7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dfaffc",
  "rgb": {
    "r": 223,
    "g": 175,
    "b": 252
  },
  "hsl": {
    "h": 277.403,
    "s": 92.771,
    "l": 83.725
  },
  "oklch": {
    "l": 0.82345,
    "c": 0.1168,
    "h": 312.3
  },
  "luminance": 0.53376
}

Semantic roles & 50–950 ramp

primary
#DFAFFC
secondary
#9AE06F
accent
#E60056
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161317
muted
#848285

Preview Lab

Preview with #DFAFFC

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

Preview Lab → · Contrast checker → · Palette generator →

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