#DC7BF9#DC7BF9

#DC7BF9 is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.7% C 0.198 H 318.0°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#DC7BF9
RGBrgb(220, 123, 249)
HSLhsl(286, 91%, 73%)
HSVhsv(286, 51%, 98%)
CMYKcmyk(11.6%, 50.6%, 0%, 2.4%)
CIE-LABlab(66.69, 56.91, -47.71)
CIE-LCHlch(66.69, 74.27, 320.03°)
OKLaboklab(73.66% 0.1472 -0.1325)
OKLCHoklch(73.66% 0.198 318)
XYZxyz(53.6947, 36.2230, 93.7675)
Luminance0.3622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BF9 #98F97B
analogous
#9D7BF9 #DC7BF9 #F97BD7
triadic
#DC7BF9 #F9DC7B #7BF9DC
tetradic
#DC7BF9 #F99D7B #98F97B #7BD7F9
square
#DC7BF9 #F99D7B #98F97B #7BD7F9
split-complementary
#DC7BF9 #D7F97B #7BF99D
monochromatic
#BA0BEF #CC40F6 #DC7BF9 #ECB6FC #F7E2FE

Accessibility & contrast

On white

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

On black

8.24
#DC7BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BF9
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BF9#FFFFFF#000000##000000
##DC7BF91.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFD
Deuteranopia (green-blind)
#80A5F6
Tritanopia (blue-blind)
#DC8DAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #dc7bf9;
/* rgb */ color: rgb(220, 123, 249);
/* oklch */ color: oklch(73.7% 0.198 318.0);
Tailwind
colors: {
  custom: {
    50: '#e9a4fc',
    500: '#dc7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #dc7bf9;
$custom-light: #e9a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7bf9",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 286.19,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73658,
    "c": 0.19801,
    "h": 318
  },
  "luminance": 0.36221
}

Semantic roles & 50–950 ramp

primary
#DC7BF9
secondary
#DDF6D5
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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