#DC7BDB#DC7BDB

#DC7BDB is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.2% C 0.169 H 327.5°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#DC7BDB
RGBrgb(220, 123, 219)
HSLhsl(301, 58%, 67%)
HSVhsv(301, 44%, 86%)
CMYKcmyk(0%, 44.1%, 0.5%, 13.7%)
CIE-LABlab(65.36, 51.29, -33.21)
CIE-LCHlch(65.36, 61.10, 327.07°)
OKLaboklab(72.23% 0.1427 -0.0908)
OKLCHoklch(72.23% 0.169 327.5)
XYZxyz(49.3835, 34.4985, 71.0618)
Luminance0.3450 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BDB #7BDC7C
analogous
#AD7BDC #DC7BDB #DC7BAA
triadic
#DC7BDB #DBDC7B #7BDBDC
tetradic
#DC7BDB #DCAD7B #7BDC7C #7BAADC
square
#DC7BDB #DCAD7B #7BDC7C #7BAADC
split-complementary
#DC7BDB #AADC7B #7BDCAD
monochromatic
#AE2EAD #CF4BCE #DC7BDB #E9ABE8 #F6DCF5

Accessibility & contrast

On white

2.66
#DC7BDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#DC7BDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BDB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BDB#FFFFFF#000000##000000
##DC7BDB1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7397DE
Deuteranopia (green-blind)
#8EA3D8
Tritanopia (blue-blind)
#E285A1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #dc7bdb;
/* rgb */ color: rgb(220, 123, 219);
/* oklch */ color: oklch(72.2% 0.169 327.5);
Tailwind
colors: {
  custom: {
    50: '#e9a4e6',
    500: '#dc7bdb',
    950: '#000000',
  },
}
SCSS
$custom: #dc7bdb;
$custom-light: #e9a4e6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7bdb",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 219
  },
  "hsl": {
    "h": 300.619,
    "s": 58.084,
    "l": 67.255
  },
  "oklch": {
    "l": 0.72232,
    "c": 0.1691,
    "h": 327.5
  },
  "luminance": 0.34496
}

Semantic roles & 50–950 ramp

primary
#DC7BDB
secondary
#CAE9CA
accent
#C62220
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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