#DCA8FB#DCA8FB

#DCA8FB is a light, vivid violet. Relative luminance 0.502; OKLCH L 80.8% C 0.126 H 312.3°. Best body text is #000000 at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#DCA8FB
RGBrgb(220, 168, 251)
HSLhsl(278, 91%, 82%)
HSVhsv(278, 33%, 98%)
CMYKcmyk(12.4%, 33.1%, 0%, 1.6%)
CIE-LABlab(76.18, 33.77, -33.98)
CIE-LCHlch(76.18, 47.91, 314.82°)
OKLaboklab(80.81% 0.085 -0.0933)
OKLCHoklch(80.81% 0.126 312.3)
XYZxyz(60.9275, 50.1869, 97.7255)
Luminance0.5019 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA8FB #C7FBA8
analogous
#B3A8FB #DCA8FB #FBA8F1
triadic
#DCA8FB #FBDCA8 #A8FBDC
tetradic
#DCA8FB #FBB3A8 #C7FBA8 #A8F1FB
square
#DCA8FB #FBB3A8 #C7FBA8 #A8F1FB
split-complementary
#DCA8FB #F1FBA8 #A8FBB3
monochromatic
#AD33F6 #C46DF8 #DCA8FB #F3E2FE #F3E2FE

Accessibility & contrast

On white

1.90
#DCA8FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.04
#DCA8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA8FB
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA8FB#FFFFFF#000000##000000
##DCA8FB1.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB9FE
Deuteranopia (green-blind)
#A6BDF9
Tritanopia (blue-blind)
#D9B3C6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #dca8fb;
/* rgb */ color: rgb(220, 168, 251);
/* oklch */ color: oklch(80.8% 0.126 312.3);
Tailwind
colors: {
  custom: {
    50: '#e8c2fd',
    500: '#dca8fb',
    950: '#000000',
  },
}
SCSS
$custom: #dca8fb;
$custom-light: #e8c2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dca8fb",
  "rgb": {
    "r": 220,
    "g": 168,
    "b": 251
  },
  "hsl": {
    "h": 277.59,
    "s": 91.209,
    "l": 82.157
  },
  "oklch": {
    "l": 0.80809,
    "c": 0.12622,
    "h": 312.3
  },
  "luminance": 0.50186
}

Semantic roles & 50–950 ramp

primary
#DCA8FB
secondary
#95DE69
accent
#E60056
background
#FEFDFF
surface
#FDF9FF
border
#D5D2D7
text
#161217
muted
#848285

Preview Lab

Preview with #DCA8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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