#DB7CE2#DB7CE2

#DB7CE2 is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.6% C 0.173 H 324.6°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#DB7CE2
RGBrgb(219, 124, 226)
HSLhsl(296, 64%, 69%)
HSVhsv(296, 45%, 89%)
CMYKcmyk(3.1%, 45.1%, 0%, 11.4%)
CIE-LABlab(65.72, 51.76, -36.54)
CIE-LCHlch(65.72, 63.36, 324.78°)
OKLaboklab(72.58% 0.1414 -0.1003)
OKLCHoklch(72.58% 0.173 324.6)
XYZxyz(50.1473, 34.9687, 76.0449)
Luminance0.3497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7CE2 #83E27C
analogous
#A87CE2 #DB7CE2 #E27CB6
triadic
#DB7CE2 #E2DB7C #7CE2DB
tetradic
#DB7CE2 #E2A87C #83E27C #7CB6E2
square
#DB7CE2 #E2A87C #83E27C #7CB6E2
split-complementary
#DB7CE2 #B6E27C #7CE2A8
monochromatic
#B029BA #CD4AD7 #DB7CE2 #E9AEED #F7E0F8

Accessibility & contrast

On white

2.63
#DB7CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#DB7CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7CE2
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7CE2#FFFFFF#000000##000000
##DB7CE21.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7198E6
Deuteranopia (green-blind)
#8CA4DF
Tritanopia (blue-blind)
#DF88A5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db7ce2;
/* rgb */ color: rgb(219, 124, 226);
/* oklch */ color: oklch(72.6% 0.173 324.6);
Tailwind
colors: {
  custom: {
    50: '#e8a5eb',
    500: '#db7ce2',
    950: '#000000',
  },
}
SCSS
$custom: #db7ce2;
$custom-light: #e8a5eb;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ce2",
  "rgb": {
    "r": 219,
    "g": 124,
    "b": 226
  },
  "hsl": {
    "h": 295.882,
    "s": 63.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72577,
    "c": 0.17338,
    "h": 324.6
  },
  "luminance": 0.34966
}

Semantic roles & 50–950 ramp

primary
#DB7CE2
secondary
#D0ECCE
accent
#CC1A26
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB7CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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