#D07EDA#D07EDA

#D07EDA is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.3% C 0.156 H 323.0°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#D07EDA
RGBrgb(208, 126, 218)
HSLhsl(293, 55%, 67%)
HSVhsv(293, 42%, 85%)
CMYKcmyk(4.6%, 42.2%, 0%, 14.5%)
CIE-LABlab(64.48, 46.03, -34.13)
CIE-LCHlch(64.48, 57.30, 323.44°)
OKLaboklab(71.25% 0.1245 -0.0937)
OKLCHoklch(71.25% 0.156 323)
XYZxyz(46.1268, 33.3954, 70.3323)
Luminance0.3339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07EDA #88DA7E
analogous
#A27EDA #D07EDA #DA7EB6
triadic
#D07EDA #DAD07E #7EDAD0
tetradic
#D07EDA #DAA27E #88DA7E #7EB6DA
square
#D07EDA #DAA27E #88DA7E #7EB6DA
split-complementary
#D07EDA #B6DA7E #7EDAA2
monochromatic
#9F31AC #BF4ECC #D07EDA #E1AEE8 #F3DDF5

Accessibility & contrast

On white

2.73
#D07EDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#D07EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07EDA
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07EDA#FFFFFF#000000##000000
##D07EDA1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7396DD
Deuteranopia (green-blind)
#89A0D7
Tritanopia (blue-blind)
#D389A2
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d07eda;
/* rgb */ color: rgb(208, 126, 218);
/* oklch */ color: oklch(71.3% 0.156 323.0);
Tailwind
colors: {
  custom: {
    50: '#e0a5e5',
    500: '#d07eda',
    950: '#000000',
  },
}
SCSS
$custom: #d07eda;
$custom-light: #e0a5e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d07eda",
  "rgb": {
    "r": 208,
    "g": 126,
    "b": 218
  },
  "hsl": {
    "h": 293.478,
    "s": 55.422,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71254,
    "c": 0.15579,
    "h": 323
  },
  "luminance": 0.33394
}

Semantic roles & 50–950 ramp

primary
#D07EDA
secondary
#CFE8CC
accent
#C32334
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #D07EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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