#DB7CF0#DB7CF0

#DB7CF0 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.2% C 0.187 H 320.2°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#DB7CF0
RGBrgb(219, 124, 240)
HSLhsl(289, 79%, 71%)
HSVhsv(289, 48%, 94%)
CMYKcmyk(8.8%, 48.3%, 0%, 5.9%)
CIE-LABlab(66.34, 54.40, -43.32)
CIE-LCHlch(66.34, 69.54, 321.47°)
OKLaboklab(73.24% 0.1436 -0.1198)
OKLCHoklch(73.24% 0.187 320.2)
XYZxyz(52.1473, 35.7687, 86.5783)
Luminance0.3577 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CF0 #91F07C
analogous
#A17CF0 #DB7CF0 #F07CCB
triadic
#DB7CF0 #F0DB7C #7CF0DB
tetradic
#DB7CF0 #F0A17C #91F07C #7CCBF0
square
#DB7CF0 #F0A17C #91F07C #7CCBF0
split-complementary
#DB7CF0 #CBF07C #7CF0A1
monochromatic
#B619D9 #CC45EA #DB7CF0 #EAB3F6 #F7E4FC

Accessibility & contrast

On white

2.58
#DB7CF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#DB7CF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CF0
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CF0#FFFFFF#000000##000000
##DB7CF01.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#699BF4
Deuteranopia (green-blind)
#85A5ED
Tritanopia (blue-blind)
#DC8CAB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7cf0;
/* rgb */ color: rgb(219, 124, 240);
/* oklch */ color: oklch(73.2% 0.187 320.2);
Tailwind
colors: {
  custom: {
    50: '#e8a5f5',
    500: '#db7cf0',
    950: '#000000',
  },
}
SCSS
$custom: #db7cf0;
$custom-light: #e8a5f5;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cf0",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 240
  },
  "hsl": {
    "h": 289.138,
    "s": 79.452,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73238,
    "c": 0.18699,
    "h": 320.2
  },
  "luminance": 0.35767
}

Semantic roles & 50–950 ramp

primary
#DB7CF0
secondary
#DAF3D5
accent
#DC0A30
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7CF0

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

Preview Lab → · Contrast checker → · Palette generator →

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