#DC7BEB#DC7BEB

#DC7BEB is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.0% C 0.184 H 322.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#DC7BEB
RGBrgb(220, 123, 235)
HSLhsl(292, 74%, 70%)
HSVhsv(292, 48%, 92%)
CMYKcmyk(6.4%, 47.7%, 0%, 7.8%)
CIE-LABlab(66.04, 54.22, -41.02)
CIE-LCHlch(66.04, 67.99, 322.90°)
OKLaboklab(72.97% 0.1454 -0.1132)
OKLCHoklch(72.97% 0.184 322.1)
XYZxyz(51.5919, 35.3819, 82.6929)
Luminance0.3538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC7BEB #8AEB7B
analogous
#A47BEB #DC7BEB #EB7BC2
triadic
#DC7BEB #EBDC7B #7BEBDC
tetradic
#DC7BEB #EBA47B #8AEB7B #7BC2EB
square
#DC7BEB #EBA47B #8AEB7B #7BC2EB
split-complementary
#DC7BEB #C2EB7B #7BEBA4
monochromatic
#B51FCD #CE46E3 #DC7BEB #EAB0F3 #F8E4FB

Accessibility & contrast

On white

2.60
#DC7BEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#DC7BEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC7BEB
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC7BEB#FFFFFF#000000##000000
##DC7BEB1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EF
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#DF89A8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #dc7beb;
/* rgb */ color: rgb(220, 123, 235);
/* oklch */ color: oklch(73.0% 0.184 322.1);
Tailwind
colors: {
  custom: {
    50: '#e9a4f2',
    500: '#dc7beb',
    950: '#000000',
  },
}
SCSS
$custom: #dc7beb;
$custom-light: #e9a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#dc7beb",
  "rgb": {
    "r": 220,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 291.964,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.7297,
    "c": 0.18421,
    "h": 322.1
  },
  "luminance": 0.3538
}

Semantic roles & 50–950 ramp

primary
#DC7BEB
secondary
#D6F0D1
accent
#D6102A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DC7BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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