#DB7CF7#DB7CF7

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

Color values

HEX#DB7CF7
RGBrgb(219, 124, 247)
HSLhsl(286, 88%, 73%)
HSVhsv(286, 50%, 97%)
CMYKcmyk(11.3%, 49.8%, 0%, 3.1%)
CIE-LABlab(66.67, 55.76, -46.66)
CIE-LCHlch(66.67, 72.70, 320.08°)
OKLaboklab(73.58% 0.1445 -0.1295)
OKLCHoklch(73.58% 0.194 318.1)
XYZxyz(53.2073, 36.1926, 92.1608)
Luminance0.3619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CF7 #98F77C
analogous
#9D7CF7 #DB7CF7 #F77CD6
triadic
#DB7CF7 #F7DB7C #7CF7DB
tetradic
#DB7CF7 #F79D7C #98F77C #7CD6F7
square
#DB7CF7 #F79D7C #98F77C #7CD6F7
split-complementary
#DB7CF7 #D6F77C #7CF79D
monochromatic
#B80EEA #CB42F3 #DB7CF7 #EBB6FB #F7E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB7CF7#FFFFFF#000000##000000
##DB7CF71.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)
#659CFB
Deuteranopia (green-blind)
#82A5F4
Tritanopia (blue-blind)
#DB8EAE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7cf7;
/* rgb */ color: rgb(219, 124, 247);
/* oklch */ color: oklch(73.6% 0.194 318.1);
Tailwind
colors: {
  custom: {
    50: '#e8a5fa',
    500: '#db7cf7',
    950: '#000000',
  },
}
SCSS
$custom: #db7cf7;
$custom-light: #e8a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cf7",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 247
  },
  "hsl": {
    "h": 286.341,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73584,
    "c": 0.19399,
    "h": 318.1
  },
  "luminance": 0.36191
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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