#DCA7EF#DCA7EF

#DCA7EF is a light, moderate purple. Relative luminance 0.491; OKLCH L 80.1% C 0.114 H 317.0°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#DCA7EF
RGBrgb(220, 167, 239)
HSLhsl(284, 69%, 80%)
HSVhsv(284, 30%, 94%)
CMYKcmyk(7.9%, 30.1%, 0%, 6.3%)
CIE-LABlab(75.50, 31.89, -28.54)
CIE-LCHlch(75.50, 42.80, 318.17°)
OKLaboklab(80.14% 0.0834 -0.0779)
OKLCHoklch(80.14% 0.114 317)
XYZxyz(58.9116, 49.0863, 88.0158)
Luminance0.4909 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA7EF #BAEFA7
analogous
#B8A7EF #DCA7EF #EFA7DE
triadic
#DCA7EF #EFDCA7 #A7EFDC
tetradic
#DCA7EF #EFB8A7 #BAEFA7 #A7DEEF
square
#DCA7EF #EFB8A7 #BAEFA7 #A7DEEF
split-complementary
#DCA7EF #DEEFA7 #A7EFB8
monochromatic
#B33FDC #C773E6 #DCA7EF #F1DBF8 #F5E5FA

Accessibility & contrast

On white

1.94
#DCA7EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#DCA7EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA7EF
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA7EF#FFFFFF#000000##000000
##DCA7EF1.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB7F2
Deuteranopia (green-blind)
#A9BCED
Tritanopia (blue-blind)
#DCAFC1
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #dca7ef;
/* rgb */ color: rgb(220, 167, 239);
/* oklch */ color: oklch(80.1% 0.114 317.0);
Tailwind
colors: {
  custom: {
    50: '#e7c1f4',
    500: '#dca7ef',
    950: '#000000',
  },
}
SCSS
$custom: #dca7ef;
$custom-light: #e7c1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#dca7ef",
  "rgb": {
    "r": 220,
    "g": 167,
    "b": 239
  },
  "hsl": {
    "h": 284.167,
    "s": 69.231,
    "l": 79.608
  },
  "oklch": {
    "l": 0.80143,
    "c": 0.1141,
    "h": 317
  },
  "luminance": 0.49085
}

Semantic roles & 50–950 ramp

primary
#DCA7EF
secondary
#E0F2D9
accent
#D11446
background
#FEFBFE
surface
#FCF7FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DCA7EF

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

Preview Lab → · Contrast checker → · Palette generator →

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