#DC7CFB#DC7CFB

#DC7CFB is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.9% C 0.198 H 317.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#DC7CFB
RGBrgb(220, 124, 251)
HSLhsl(285, 94%, 74%)
HSVhsv(285, 51%, 98%)
CMYKcmyk(12.4%, 50.6%, 0%, 1.6%)
CIE-LABlab(66.97, 56.81, -48.36)
CIE-LCHlch(66.97, 74.60, 319.59°)
OKLaboklab(73.9% 0.1461 -0.1344)
OKLCHoklch(73.9% 0.198 317.4)
XYZxyz(54.1330, 36.5978, 95.4606)
Luminance0.3660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7CFB #9BFB7C
analogous
#9C7CFB #DC7CFB #FB7CDB
triadic
#DC7CFB #FBDC7C #7CFBDC
tetradic
#DC7CFB #FB9C7C #9BFB7C #7CDBFB
square
#DC7CFB #FB9C7C #9BFB7C #7CDBFB
split-complementary
#DC7CFB #DBFB7C #7CFB9C
monochromatic
#BB07F5 #CC41F9 #DC7CFB #ECB7FD #F7E1FE

Accessibility & contrast

On white

2.52
#DC7CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#DC7CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7CFB
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7CFB#FFFFFF#000000##000000
##DC7CFB1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#DB8FB0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #dc7cfb;
/* rgb */ color: rgb(220, 124, 251);
/* oklch */ color: oklch(73.9% 0.198 317.4);
Tailwind
colors: {
  custom: {
    50: '#e9a5fd',
    500: '#dc7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #dc7cfb;
$custom-light: #e9a5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7cfb",
  "rgb": {
    "r": 220,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 285.354,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73898,
    "c": 0.19847,
    "h": 317.4
  },
  "luminance": 0.36596
}

Semantic roles & 50–950 ramp

primary
#DC7CFB
secondary
#DDF6D5
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DC7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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