#DCA7FB#DCA7FB

#DCA7FB is a light, vivid violet. Relative luminance 0.498; OKLCH L 80.6% C 0.128 H 312.5°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#DCA7FB
RGBrgb(220, 167, 251)
HSLhsl(278, 91%, 82%)
HSVhsv(278, 33%, 98%)
CMYKcmyk(12.4%, 33.5%, 0%, 1.6%)
CIE-LABlab(75.96, 34.31, -34.33)
CIE-LCHlch(75.96, 48.54, 314.98°)
OKLaboklab(80.64% 0.0864 -0.0943)
OKLCHoklch(80.64% 0.128 312.5)
XYZxyz(60.7436, 49.8191, 97.6642)
Luminance0.4982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA7FB #C6FBA7
analogous
#B2A7FB #DCA7FB #FBA7F0
triadic
#DCA7FB #FBDCA7 #A7FBDC
tetradic
#DCA7FB #FBB2A7 #C6FBA7 #A7F0FB
square
#DCA7FB #FBB2A7 #C6FBA7 #A7F0FB
split-complementary
#DCA7FB #F0FBA7 #A7FBB2
monochromatic
#AD32F6 #C56CF8 #DCA7FB #F3E2FE #F3E2FE

Accessibility & contrast

On white

1.92
#DCA7FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#DCA7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA7FB
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA7FB#FFFFFF#000000##000000
##DCA7FB1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#99B8FE
Deuteranopia (green-blind)
#A5BDF8
Tritanopia (blue-blind)
#D9B2C6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #dca7fb;
/* rgb */ color: rgb(220, 167, 251);
/* oklch */ color: oklch(80.6% 0.128 312.5);
Tailwind
colors: {
  custom: {
    50: '#e8c1fd',
    500: '#dca7fb',
    950: '#000000',
  },
}
SCSS
$custom: #dca7fb;
$custom-light: #e8c1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dca7fb",
  "rgb": {
    "r": 220,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 277.857,
    "s": 91.304,
    "l": 81.961
  },
  "oklch": {
    "l": 0.80637,
    "c": 0.12791,
    "h": 312.5
  },
  "luminance": 0.49818
}

Semantic roles & 50–950 ramp

primary
#DCA7FB
secondary
#E1F6D5
accent
#E60055
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DCA7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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