#DC7BE3#DC7BE3

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

Color values

HEX#DC7BE3
RGBrgb(220, 123, 227)
HSLhsl(296, 65%, 69%)
HSVhsv(296, 46%, 89%)
CMYKcmyk(3.1%, 45.8%, 0%, 11%)
CIE-LABlab(65.69, 52.74, -37.13)
CIE-LCHlch(65.69, 64.50, 324.85°)
OKLaboklab(72.59% 0.1441 -0.102)
OKLCHoklch(72.59% 0.177 324.7)
XYZxyz(50.4620, 34.9300, 76.7423)
Luminance0.3493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BE3 #82E37B
analogous
#A87BE3 #DC7BE3 #E37BB6
triadic
#DC7BE3 #E3DC7B #7BE3DC
tetradic
#DC7BE3 #E3A87B #82E37B #7BB6E3
square
#DC7BE3 #E3A87B #82E37B #7BB6E3
split-complementary
#DC7BE3 #B6E37B #7BE3A8
monochromatic
#B228BC #CF49D8 #DC7BE3 #E9ADEE #F7E0F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC7BE3#FFFFFF#000000##000000
##DC7BE31.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)
#6F98E7
Deuteranopia (green-blind)
#8BA4E0
Tritanopia (blue-blind)
#E087A5
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7be3;
/* rgb */ color: rgb(220, 123, 227);
/* oklch */ color: oklch(72.6% 0.177 324.7);
Tailwind
colors: {
  custom: {
    50: '#e9a4ec',
    500: '#dc7be3',
    950: '#000000',
  },
}
SCSS
$custom: #dc7be3;
$custom-light: #e9a4ec;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7be3",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 227
  },
  "hsl": {
    "h": 295.962,
    "s": 65,
    "l": 68.627
  },
  "oklch": {
    "l": 0.72594,
    "c": 0.17654,
    "h": 324.7
  },
  "luminance": 0.34928
}

Semantic roles & 50–950 ramp

primary
#DC7BE3
secondary
#CFECCD
accent
#CD1925
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DC7BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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