#DB7CF5#DB7CF5

#DB7CF5 is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.5% C 0.192 H 318.7°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#DB7CF5
RGBrgb(219, 124, 245)
HSLhsl(287, 86%, 72%)
HSVhsv(287, 49%, 96%)
CMYKcmyk(10.6%, 49.4%, 0%, 3.9%)
CIE-LABlab(66.57, 55.37, -45.71)
CIE-LCHlch(66.57, 71.79, 320.46°)
OKLaboklab(73.48% 0.1442 -0.1267)
OKLCHoklch(73.48% 0.192 318.7)
XYZxyz(52.9003, 36.0699, 90.5441)
Luminance0.3607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CF5 #96F57C
analogous
#9E7CF5 #DB7CF5 #F57CD3
triadic
#DB7CF5 #F5DB7C #7CF5DB
tetradic
#DB7CF5 #F59E7C #96F57C #7CD3F5
square
#DB7CF5 #F59E7C #96F57C #7CD3F5
split-complementary
#DB7CF5 #D3F57C #7CF59E
monochromatic
#B811E5 #CB43F1 #DB7CF5 #EBB5F9 #F7E3FD

Accessibility & contrast

On white

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

On black

8.21
#DB7CF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CF5
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CF5#FFFFFF#000000##000000
##DB7CF51.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#669CF9
Deuteranopia (green-blind)
#83A5F2
Tritanopia (blue-blind)
#DB8DAD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7cf5;
/* rgb */ color: rgb(219, 124, 245);
/* oklch */ color: oklch(73.5% 0.192 318.7);
Tailwind
colors: {
  custom: {
    50: '#e8a5f9',
    500: '#db7cf5',
    950: '#000000',
  },
}
SCSS
$custom: #db7cf5;
$custom-light: #e8a5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cf5",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 245
  },
  "hsl": {
    "h": 287.107,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73484,
    "c": 0.19198,
    "h": 318.7
  },
  "luminance": 0.36068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7CF5

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

Preview Lab → · Contrast checker → · Palette generator →

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