#DC7BF5#DC7BF5

#DC7BF5 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.5% C 0.194 H 319.1°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#DC7BF5
RGBrgb(220, 123, 245)
HSLhsl(288, 86%, 72%)
HSVhsv(288, 50%, 96%)
CMYKcmyk(10.2%, 49.8%, 0%, 3.9%)
CIE-LABlab(66.50, 56.13, -45.81)
CIE-LCHlch(66.50, 72.45, 320.78°)
OKLaboklab(73.46% 0.1467 -0.127)
OKLCHoklch(73.46% 0.194 319.1)
XYZxyz(53.0774, 35.9761, 90.5167)
Luminance0.3597 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BF5 #94F57B
analogous
#9F7BF5 #DC7BF5 #F57BD1
triadic
#DC7BF5 #F5DC7B #7BF5DC
tetradic
#DC7BF5 #F59F7B #94F57B #7BD1F5
square
#DC7BF5 #F59F7B #94F57B #7BD1F5
split-complementary
#DC7BF5 #D1F57B #7BF59F
monochromatic
#B911E4 #CD42F1 #DC7BF5 #EBB4F9 #F7E3FD

Accessibility & contrast

On white

2.56
#DC7BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#DC7BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BF5
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BF5#FFFFFF#000000##000000
##DC7BF51.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF9
Deuteranopia (green-blind)
#83A5F2
Tritanopia (blue-blind)
#DD8CAD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7bf5;
/* rgb */ color: rgb(220, 123, 245);
/* oklch */ color: oklch(73.5% 0.194 319.1);
Tailwind
colors: {
  custom: {
    50: '#e9a4f9',
    500: '#dc7bf5',
    950: '#000000',
  },
}
SCSS
$custom: #dc7bf5;
$custom-light: #e9a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7bf5",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 287.705,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73457,
    "c": 0.19403,
    "h": 319.1
  },
  "luminance": 0.35974
}

Semantic roles & 50–950 ramp

primary
#DC7BF5
secondary
#DCF5D6
accent
#E20331
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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