#DC7BF1#DC7BF1

#DC7BF1 is a light, vivid purple. Relative luminance 0.357; OKLCH L 73.3% C 0.190 H 320.3°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#DC7BF1
RGBrgb(220, 123, 241)
HSLhsl(289, 81%, 71%)
HSVhsv(289, 49%, 95%)
CMYKcmyk(8.7%, 49%, 0%, 5.5%)
CIE-LABlab(66.32, 55.36, -43.90)
CIE-LCHlch(66.32, 70.66, 321.59°)
OKLaboklab(73.26% 0.1462 -0.1215)
OKLCHoklch(73.26% 0.19 320.3)
XYZxyz(52.4734, 35.7345, 87.3354)
Luminance0.3573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BF1 #90F17B
analogous
#A17BF1 #DC7BF1 #F17BCB
triadic
#DC7BF1 #F1DC7B #7BF1DC
tetradic
#DC7BF1 #F1A17B #90F17B #7BCBF1
square
#DC7BF1 #F1A17B #90F17B #7BCBF1
split-complementary
#DC7BF1 #CBF17B #7BF1A1
monochromatic
#B817DA #CD44EB #DC7BF1 #EBB2F7 #F8E3FC

Accessibility & contrast

On white

2.58
#DC7BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#DC7BF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BF1
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BF1#FFFFFF#000000##000000
##DC7BF11.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF5
Deuteranopia (green-blind)
#85A5EE
Tritanopia (blue-blind)
#DD8BAB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7bf1;
/* rgb */ color: rgb(220, 123, 241);
/* oklch */ color: oklch(73.3% 0.190 320.3);
Tailwind
colors: {
  custom: {
    50: '#e9a4f6',
    500: '#dc7bf1',
    950: '#000000',
  },
}
SCSS
$custom: #dc7bf1;
$custom-light: #e9a4f6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7bf1",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 241
  },
  "hsl": {
    "h": 289.322,
    "s": 80.822,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7326,
    "c": 0.19008,
    "h": 320.3
  },
  "luminance": 0.35732
}

Semantic roles & 50–950 ramp

primary
#DC7BF1
secondary
#DAF3D5
accent
#DD082E
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7BF1

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

Preview Lab → · Contrast checker → · Palette generator →

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