#DC7BF2#DC7BF2

#DC7BF2 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.3% C 0.191 H 320.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#DC7BF2
RGBrgb(220, 123, 242)
HSLhsl(289, 82%, 72%)
HSVhsv(289, 49%, 95%)
CMYKcmyk(9.1%, 49.2%, 0%, 5.1%)
CIE-LABlab(66.36, 55.56, -44.38)
CIE-LCHlch(66.36, 71.10, 321.38°)
OKLaboklab(73.31% 0.1463 -0.1229)
OKLCHoklch(73.31% 0.191 320)
XYZxyz(52.6232, 35.7944, 88.1242)
Luminance0.3579 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BF2 #91F27B
analogous
#A17BF2 #DC7BF2 #F27BCC
triadic
#DC7BF2 #F2DC7B #7BF2DC
tetradic
#DC7BF2 #F2A17B #91F27B #7BCCF2
square
#DC7BF2 #F2A17B #91F27B #7BCCF2
split-complementary
#DC7BF2 #CCF27B #7BF2A1
monochromatic
#B816DD #CD43ED #DC7BF2 #EBB3F7 #F8E3FC

Accessibility & contrast

On white

2.57
#DC7BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#DC7BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BF2
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BF2#FFFFFF#000000##000000
##DC7BF21.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#84A5EF
Tritanopia (blue-blind)
#DD8BAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #dc7bf2;
/* rgb */ color: rgb(220, 123, 242);
/* oklch */ color: oklch(73.3% 0.191 320.0);
Tailwind
colors: {
  custom: {
    50: '#e9a4f7',
    500: '#dc7bf2',
    950: '#000000',
  },
}
SCSS
$custom: #dc7bf2;
$custom-light: #e9a4f7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7bf2",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 242
  },
  "hsl": {
    "h": 288.908,
    "s": 82.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73309,
    "c": 0.19106,
    "h": 320
  },
  "luminance": 0.35792
}

Semantic roles & 50–950 ramp

primary
#DC7BF2
secondary
#DBF4D5
accent
#DE072F
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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