#DB8CCF#DB8CCF

#DB8CCF is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.2% C 0.128 H 332.4°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#DB8CCF
RGBrgb(219, 140, 207)
HSLhsl(309, 52%, 70%)
HSVhsv(309, 36%, 86%)
CMYKcmyk(0%, 36.1%, 5.5%, 14.1%)
CIE-LABlab(68.26, 40.05, -22.08)
CIE-LCHlch(68.26, 45.73, 331.13°)
OKLaboklab(74.23% 0.1138 -0.0595)
OKLCHoklch(74.23% 0.128 332.4)
XYZxyz(49.8535, 38.3236, 63.7906)
Luminance0.3832 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8CCF #8CDB98
analogous
#BF8CDB #DB8CCF #DB8CA7
triadic
#DB8CCF #CFDB8C #8CCFDB
tetradic
#DB8CCF #DBBF8C #8CDB98 #8CA7DB
square
#DB8CCF #DBBF8C #8CDB98 #8CA7DB
split-complementary
#DB8CCF #A7DB8C #8CDBBF
monochromatic
#B438A1 #CC5DBC #DB8CCF #EABBE2 #F8E8F5

Accessibility & contrast

On white

2.42
#DB8CCF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#DB8CCF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8CCF
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8CCF#FFFFFF#000000##000000
##DB8CCF1.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AA0D2
Deuteranopia (green-blind)
#9EAACD
Tritanopia (blue-blind)
#E290A5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #db8ccf;
/* rgb */ color: rgb(219, 140, 207);
/* oklch */ color: oklch(74.2% 0.128 332.4);
Tailwind
colors: {
  custom: {
    50: '#e7afdd',
    500: '#db8ccf',
    950: '#000000',
  },
}
SCSS
$custom: #db8ccf;
$custom-light: #e7afdd;
$custom-dark: #000000;
JSON
{
  "hex": "#db8ccf",
  "rgb": {
    "r": 219,
    "g": 140,
    "b": 207
  },
  "hsl": {
    "h": 309.114,
    "s": 52.318,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74233,
    "c": 0.12846,
    "h": 332.4
  },
  "luminance": 0.38321
}

Semantic roles & 50–950 ramp

primary
#DB8CCF
secondary
#D7ECDA
accent
#C03D26
background
#FEFAFD
surface
#FDF5FB
border
#D5CFD4
text
#161015
muted
#847F83

Preview Lab

Preview with #DB8CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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