#D793EA#D793EA

#D793EA is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.1% C 0.141 H 318.7°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#D793EA
RGBrgb(215, 147, 234)
HSLhsl(287, 67%, 75%)
HSVhsv(287, 37%, 92%)
CMYKcmyk(8.1%, 37.2%, 0%, 8.2%)
CIE-LABlab(70.36, 40.12, -33.80)
CIE-LCHlch(70.36, 52.46, 319.89°)
OKLaboklab(76.06% 0.1056 -0.0927)
OKLCHoklch(76.06% 0.141 318.7)
XYZxyz(53.3073, 41.2565, 82.9812)
Luminance0.4125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D793EA #A6EA93
analogous
#AC93EA #D793EA #EA93D1
triadic
#D793EA #EAD793 #93EAD7
tetradic
#D793EA #EAAC93 #A6EA93 #93D1EA
square
#D793EA #EAAC93 #A6EA93 #93D1EA
split-complementary
#D793EA #D1EA93 #93EAAC
monochromatic
#B12DD6 #C460E0 #D793EA #EAC6F4 #F6E5FA

Accessibility & contrast

On white

2.27
#D793EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#D793EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D793EA
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D793EA#FFFFFF#000000##000000
##D793EA1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A7ED
Deuteranopia (green-blind)
#98AEE7
Tritanopia (blue-blind)
#D89EB4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d793ea;
/* rgb */ color: rgb(215, 147, 234);
/* oklch */ color: oklch(76.1% 0.141 318.7);
Tailwind
colors: {
  custom: {
    50: '#e4b4f1',
    500: '#d793ea',
    950: '#000000',
  },
}
SCSS
$custom: #d793ea;
$custom-light: #e4b4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d793ea",
  "rgb": {
    "r": 215,
    "g": 147,
    "b": 234
  },
  "hsl": {
    "h": 286.897,
    "s": 67.442,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76057,
    "c": 0.14051,
    "h": 318.7
  },
  "luminance": 0.41255
}

Semantic roles & 50–950 ramp

primary
#D793EA
secondary
#DFF2D9
accent
#CF163F
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D793EA

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

Preview Lab → · Contrast checker → · Palette generator →

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