#DB7CFA#DB7CFA

#DB7CFA is a light, vivid purple. Relative luminance 0.364; OKLCH L 73.7% C 0.197 H 317.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#DB7CFA
RGBrgb(219, 124, 250)
HSLhsl(285, 93%, 73%)
HSVhsv(285, 50%, 98%)
CMYKcmyk(12.4%, 50.4%, 0%, 2%)
CIE-LABlab(66.81, 56.35, -48.08)
CIE-LCHlch(66.81, 74.07, 319.53°)
OKLaboklab(73.74% 0.1448 -0.1336)
OKLCHoklch(73.74% 0.197 317.3)
XYZxyz(53.6739, 36.3793, 94.6185)
Luminance0.3638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CFA #9BFA7C
analogous
#9C7CFA #DB7CFA #FA7CDA
triadic
#DB7CFA #FADB7C #7CFADB
tetradic
#DB7CFA #FA9C7C #9BFA7C #7CDAFA
square
#DB7CFA #FA9C7C #9BFA7C #7CDAFA
split-complementary
#DB7CFA #DAFA7C #7CFA9C
monochromatic
#B909F2 #CB41F8 #DB7CFA #EBB7FC #F7E2FE

Accessibility & contrast

On white

2.54
#DB7CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#DB7CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CFA
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CFA#FFFFFF#000000##000000
##DB7CFA1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFE
Deuteranopia (green-blind)
#80A6F7
Tritanopia (blue-blind)
#DA8FB0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7cfa;
/* rgb */ color: rgb(219, 124, 250);
/* oklch */ color: oklch(73.7% 0.197 317.3);
Tailwind
colors: {
  custom: {
    50: '#e8a5fc',
    500: '#db7cfa',
    950: '#000000',
  },
}
SCSS
$custom: #db7cfa;
$custom-light: #e8a5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cfa",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 285.238,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73735,
    "c": 0.19701,
    "h": 317.3
  },
  "luminance": 0.36377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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