#DCA2FB#DCA2FB

#DCA2FB is a light, vivid violet. Relative luminance 0.480; OKLCH L 79.8% C 0.136 H 313.3°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#DCA2FB
RGBrgb(220, 162, 251)
HSLhsl(279, 92%, 81%)
HSVhsv(279, 35%, 98%)
CMYKcmyk(12.4%, 35.5%, 0%, 1.6%)
CIE-LABlab(74.84, 37.00, -36.06)
CIE-LCHlch(74.84, 51.67, 315.74°)
OKLaboklab(79.79% 0.0935 -0.0992)
OKLCHoklch(79.79% 0.136 313.3)
XYZxyz(59.8453, 48.0224, 97.3647)
Luminance0.4802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCA2FB #C1FBA2
analogous
#AFA2FB #DCA2FB #FBA2ED
triadic
#DCA2FB #FBDCA2 #A2FBDC
tetradic
#DCA2FB #FBAFA2 #C1FBA2 #A2EDFB
square
#DCA2FB #FBAFA2 #C1FBA2 #A2EDFB
split-complementary
#DCA2FB #EDFBA2 #A2FBAF
monochromatic
#B02DF6 #C667F8 #DCA2FB #F2DDFE #F4E2FE

Accessibility & contrast

On white

1.98
#DCA2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#DCA2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCA2FB
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCA2FB#FFFFFF#000000##000000
##DCA2FB1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FE
Deuteranopia (green-blind)
#A0BAF8
Tritanopia (blue-blind)
#DAAEC3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #dca2fb;
/* rgb */ color: rgb(220, 162, 251);
/* oklch */ color: oklch(79.8% 0.136 313.3);
Tailwind
colors: {
  custom: {
    50: '#e8befd',
    500: '#dca2fb',
    950: '#000000',
  },
}
SCSS
$custom: #dca2fb;
$custom-light: #e8befd;
$custom-dark: #000000;
JSON
{
  "hex": "#dca2fb",
  "rgb": {
    "r": 220,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 279.101,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.79788,
    "c": 0.13636,
    "h": 313.3
  },
  "luminance": 0.48021
}

Semantic roles & 50–950 ramp

primary
#DCA2FB
secondary
#E1F6D5
accent
#E60050
background
#FEFBFF
surface
#FDF7FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DCA2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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