#DCA4FC#DCA4FC

#DCA4FC is a light, vivid violet. Relative luminance 0.488; OKLCH L 80.2% C 0.134 H 312.7°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#DCA4FC
RGBrgb(220, 164, 252)
HSLhsl(278, 94%, 82%)
HSVhsv(278, 35%, 99%)
CMYKcmyk(12.7%, 34.9%, 0%, 1.2%)
CIE-LABlab(75.32, 36.13, -35.85)
CIE-LCHlch(75.32, 50.90, 315.22°)
OKLaboklab(80.17% 0.0909 -0.0986)
OKLCHoklch(80.17% 0.134 312.7)
XYZxyz(60.3584, 48.7958, 98.3155)
Luminance0.4879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA4FC #C4FCA4
analogous
#B0A4FC #DCA4FC #FCA4F0
triadic
#DCA4FC #FCDCA4 #A4FCDC
tetradic
#DCA4FC #FCB0A4 #C4FCA4 #A4F0FC
square
#DCA4FC #FCB0A4 #C4FCA4 #A4F0FC
split-complementary
#DCA4FC #F0FCA4 #A4FCB0
monochromatic
#AE2EF8 #C569FA #DCA4FC #F3DFFE #F4E1FE

Accessibility & contrast

On white

1.95
#DCA4FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#DCA4FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA4FC
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA4FC#FFFFFF#000000##000000
##DCA4FC1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FF
Deuteranopia (green-blind)
#A2BBF9
Tritanopia (blue-blind)
#D9B0C5
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #dca4fc;
/* rgb */ color: rgb(220, 164, 252);
/* oklch */ color: oklch(80.2% 0.134 312.7);
Tailwind
colors: {
  custom: {
    50: '#e8bffd',
    500: '#dca4fc',
    950: '#000000',
  },
}
SCSS
$custom: #dca4fc;
$custom-light: #e8bffd;
$custom-dark: #000000;
JSON
{
  "hex": "#dca4fc",
  "rgb": {
    "r": 220,
    "g": 164,
    "b": 252
  },
  "hsl": {
    "h": 278.182,
    "s": 93.617,
    "l": 81.569
  },
  "oklch": {
    "l": 0.80168,
    "c": 0.13414,
    "h": 312.7
  },
  "luminance": 0.48795
}

Semantic roles & 50–950 ramp

primary
#DCA4FC
secondary
#E1F6D5
accent
#E60053
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DCA4FC

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

Preview Lab → · Contrast checker → · Palette generator →

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