#DCB7FA#DCB7FA

#DCB7FA is a very light, moderate violet. Relative luminance 0.560; OKLCH L 83.4% C 0.100 H 309.4°. Best body text is #000000 at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#DCB7FA
RGBrgb(220, 183, 250)
HSLhsl(273, 87%, 85%)
HSVhsv(273, 27%, 98%)
CMYKcmyk(12%, 26.8%, 0%, 2%)
CIE-LABlab(79.61, 25.47, -28.18)
CIE-LCHlch(79.61, 37.99, 312.11°)
OKLaboklab(83.41% 0.0633 -0.077)
OKLCHoklch(83.41% 0.1 309.4)
XYZxyz(63.7009, 55.9853, 97.8744)
Luminance0.5598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DCB7FA #D5FAB7
analogous
#BAB7FA #DCB7FA #FAB7F7
triadic
#DCB7FA #FADCB7 #B7FADC
tetradic
#DCB7FA #FABAB7 #D5FAB7 #B7F7FA
square
#DCB7FA #FABAB7 #D5FAB7 #B7F7FA
split-complementary
#DCB7FA #F7FAB7 #B7FABA
monochromatic
#A445F2 #C07EF6 #DCB7FA #F1E2FD #F1E2FD

Accessibility & contrast

On white

1.72
#DCB7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.20
#DCB7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DCB7FA
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DCB7FA#FFFFFF#000000##000000
##DCB7FA1.001.7212.2012.20
#FFFFFF1.721.0021.0021.00
#00000012.2021.001.001.00
##00000012.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACC4FD
Deuteranopia (green-blind)
#B3C6F8
Tritanopia (blue-blind)
#D9C0CF
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #dcb7fa;
/* rgb */ color: rgb(220, 183, 250);
/* oklch */ color: oklch(83.4% 0.100 309.4);
Tailwind
colors: {
  custom: {
    50: '#e7ccfc',
    500: '#dcb7fa',
    950: '#000000',
  },
}
SCSS
$custom: #dcb7fa;
$custom-light: #e7ccfc;
$custom-dark: #000000;
JSON
{
  "hex": "#dcb7fa",
  "rgb": {
    "r": 220,
    "g": 183,
    "b": 250
  },
  "hsl": {
    "h": 273.134,
    "s": 87.013,
    "l": 84.902
  },
  "oklch": {
    "l": 0.83411,
    "c": 0.09964,
    "h": 309.4
  },
  "luminance": 0.55985
}

Semantic roles & 50–950 ramp

primary
#DCB7FA
secondary
#A5DE77
accent
#E40267
background
#FEFEFF
surface
#FCFAFF
border
#D5D3D7
text
#161317
muted
#848385

Preview Lab

Preview with #DCB7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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