#DC7BF7#DC7BF7

#DC7BF7 is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.6% C 0.196 H 318.6°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#DC7BF7
RGBrgb(220, 123, 247)
HSLhsl(287, 89%, 73%)
HSVhsv(287, 50%, 97%)
CMYKcmyk(10.9%, 50.2%, 0%, 3.1%)
CIE-LABlab(66.60, 56.52, -46.76)
CIE-LCHlch(66.60, 73.36, 320.40°)
OKLaboklab(73.56% 0.1469 -0.1297)
OKLCHoklch(73.56% 0.196 318.6)
XYZxyz(53.3844, 36.0989, 92.1334)
Luminance0.3610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BF7 #96F77B
analogous
#9E7BF7 #DC7BF7 #F77BD4
triadic
#DC7BF7 #F7DC7B #7BF7DC
tetradic
#DC7BF7 #F79E7B #96F77B #7BD4F7
square
#DC7BF7 #F79E7B #96F77B #7BD4F7
split-complementary
#DC7BF7 #D4F77B #7BF79E
monochromatic
#BA0EE9 #CD41F4 #DC7BF7 #EBB5FA #F7E2FD

Accessibility & contrast

On white

2.55
#DC7BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#DC7BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BF7
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BF7#FFFFFF#000000##000000
##DC7BF71.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BFB
Deuteranopia (green-blind)
#81A5F4
Tritanopia (blue-blind)
#DC8DAE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7bf7;
/* rgb */ color: rgb(220, 123, 247);
/* oklch */ color: oklch(73.6% 0.196 318.6);
Tailwind
colors: {
  custom: {
    50: '#e9a4fa',
    500: '#dc7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #dc7bf7;
$custom-light: #e9a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7bf7",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 286.935,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73557,
    "c": 0.19602,
    "h": 318.6
  },
  "luminance": 0.36097
}

Semantic roles & 50–950 ramp

primary
#DC7BF7
secondary
#DDF5D6
accent
#E50032
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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