#DB7CFF#DB7CFF

#DB7CFF is a light, highly saturated purple. Relative luminance 0.367; OKLCH L 74.0% C 0.202 H 316.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#DB7CFF
RGBrgb(219, 124, 255)
HSLhsl(284, 100%, 74%)
HSVhsv(284, 51%, 100%)
CMYKcmyk(14.1%, 51.4%, 0%, 0%)
CIE-LABlab(67.05, 57.34, -50.44)
CIE-LCHlch(67.05, 76.37, 318.66°)
OKLaboklab(73.99% 0.1453 -0.1404)
OKLCHoklch(73.99% 0.202 316)
XYZxyz(54.4683, 36.6971, 98.8024)
Luminance0.3669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CFF #A0FF7C
analogous
#9A7CFF #DB7CFF #FF7CE2
triadic
#DB7CFF #FFDB7C #7CFFDB
tetradic
#DB7CFF #FF9A7C #A0FF7C #7CE2FF
square
#DB7CFF #FF9A7C #A0FF7C #7CE2FF
split-complementary
#DB7CFF #E2FF7C #7CFF9A
monochromatic
#B902FF #CA3FFF #DB7CFF #ECB9FF #F7E0FF

Accessibility & contrast

On white

2.52
#DB7CFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#DB7CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CFF
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CFF#FFFFFF#000000##000000
##DB7CFF1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#7DA6FC
Tritanopia (blue-blind)
#D990B2
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7cff;
/* rgb */ color: rgb(219, 124, 255);
/* oklch */ color: oklch(74.0% 0.202 316.0);
Tailwind
colors: {
  custom: {
    50: '#e9a5ff',
    500: '#db7cff',
    950: '#000000',
  },
}
SCSS
$custom: #db7cff;
$custom-light: #e9a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db7cff",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 255
  },
  "hsl": {
    "h": 283.511,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73991,
    "c": 0.20208,
    "h": 316
  },
  "luminance": 0.36695
}

Semantic roles & 50–950 ramp

primary
#DB7CFF
secondary
#DDF7D4
accent
#E6003F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB7CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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