#DC7BF6#DC7BF6

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

Color values

HEX#DC7BF6
RGBrgb(220, 123, 246)
HSLhsl(287, 87%, 72%)
HSVhsv(287, 50%, 96%)
CMYKcmyk(10.6%, 50%, 0%, 3.5%)
CIE-LABlab(66.55, 56.33, -46.29)
CIE-LCHlch(66.55, 72.91, 320.59°)
OKLaboklab(73.51% 0.1468 -0.1284)
OKLCHoklch(73.51% 0.195 318.8)
XYZxyz(53.2305, 36.0373, 91.3228)
Luminance0.3604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BF6 #95F67B
analogous
#9F7BF6 #DC7BF6 #F67BD3
triadic
#DC7BF6 #F6DC7B #7BF6DC
tetradic
#DC7BF6 #F69F7B #95F67B #7BD3F6
square
#DC7BF6 #F69F7B #95F67B #7BD3F6
split-complementary
#DC7BF6 #D3F67B #7BF69F
monochromatic
#B910E7 #CD42F2 #DC7BF6 #EBB4FA #F7E2FD

Accessibility & contrast

On white

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

On black

8.21
#DC7BF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BF6
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BF6#FFFFFF#000000##000000
##DC7BF61.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BFA
Deuteranopia (green-blind)
#82A5F3
Tritanopia (blue-blind)
#DC8CAD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7bf6;
/* rgb */ color: rgb(220, 123, 246);
/* oklch */ color: oklch(73.5% 0.195 318.8);
Tailwind
colors: {
  custom: {
    50: '#e9a4f9',
    500: '#dc7bf6',
    950: '#000000',
  },
}
SCSS
$custom: #dc7bf6;
$custom-light: #e9a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7bf6",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 246
  },
  "hsl": {
    "h": 287.317,
    "s": 87.234,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73507,
    "c": 0.19502,
    "h": 318.8
  },
  "luminance": 0.36035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC7BF6

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

Preview Lab → · Contrast checker → · Palette generator →

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