#DB7CF4#DB7CF4

#DB7CF4 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.4% C 0.191 H 319.0°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#DB7CF4
RGBrgb(219, 124, 244)
HSLhsl(288, 85%, 72%)
HSVhsv(288, 49%, 96%)
CMYKcmyk(10.2%, 49.2%, 0%, 4.3%)
CIE-LABlab(66.53, 55.17, -45.23)
CIE-LCHlch(66.53, 71.34, 320.65°)
OKLaboklab(73.43% 0.1441 -0.1253)
OKLCHoklch(73.43% 0.191 319)
XYZxyz(52.7481, 36.0090, 89.7423)
Luminance0.3601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CF4 #95F47C
analogous
#9F7CF4 #DB7CF4 #F47CD1
triadic
#DB7CF4 #F4DB7C #7CF4DB
tetradic
#DB7CF4 #F49F7C #95F47C #7CD1F4
square
#DB7CF4 #F49F7C #95F47C #7CD1F4
split-complementary
#DB7CF4 #D1F47C #7CF49F
monochromatic
#B713E3 #CB44EF #DB7CF4 #EBB4F9 #F7E3FD

Accessibility & contrast

On white

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

On black

8.20
#DB7CF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CF4
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CF4#FFFFFF#000000##000000
##DB7CF41.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF8
Deuteranopia (green-blind)
#83A5F1
Tritanopia (blue-blind)
#DC8DAD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7cf4;
/* rgb */ color: rgb(219, 124, 244);
/* oklch */ color: oklch(73.4% 0.191 319.0);
Tailwind
colors: {
  custom: {
    50: '#e8a5f8',
    500: '#db7cf4',
    950: '#000000',
  },
}
SCSS
$custom: #db7cf4;
$custom-light: #e8a5f8;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cf4",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 244
  },
  "hsl": {
    "h": 287.5,
    "s": 84.507,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73435,
    "c": 0.19098,
    "h": 319
  },
  "luminance": 0.36007
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7CF4

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

Preview Lab → · Contrast checker → · Palette generator →

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