#D07CEE#D07CEE

#D07CEE is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.9% C 0.180 H 316.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#D07CEE
RGBrgb(208, 124, 238)
HSLhsl(284, 77%, 71%)
HSVhsv(284, 48%, 93%)
CMYKcmyk(12.6%, 47.9%, 0%, 6.7%)
CIE-LABlab(64.96, 50.99, -44.47)
CIE-LCHlch(64.96, 67.66, 318.90°)
OKLaboklab(71.9% 0.1306 -0.1234)
OKLCHoklch(71.9% 0.18 316.6)
XYZxyz(48.6504, 33.9997, 84.8722)
Luminance0.3400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07CEE #9AEE7C
analogous
#977CEE #D07CEE #EE7CD3
triadic
#D07CEE #EED07C #7CEED0
tetradic
#D07CEE #EE977C #9AEE7C #7CD3EE
square
#D07CEE #EE977C #9AEE7C #7CD3EE
split-complementary
#D07CEE #D3EE7C #7CEE97
monochromatic
#A41CD4 #BD46E7 #D07CEE #E3B2F5 #F5E4FB

Accessibility & contrast

On white

2.69
#D07CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#D07CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07CEE
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07CEE#FFFFFF#000000##000000
##D07CEE1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F2
Deuteranopia (green-blind)
#7EA0EB
Tritanopia (blue-blind)
#CF8DAA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d07cee;
/* rgb */ color: rgb(208, 124, 238);
/* oklch */ color: oklch(71.9% 0.180 316.6);
Tailwind
colors: {
  custom: {
    50: '#e0a4f4',
    500: '#d07cee',
    950: '#000000',
  },
}
SCSS
$custom: #d07cee;
$custom-light: #e0a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d07cee",
  "rgb": {
    "r": 208,
    "g": 124,
    "b": 238
  },
  "hsl": {
    "h": 284.211,
    "s": 77.027,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71904,
    "c": 0.17965,
    "h": 316.6
  },
  "luminance": 0.33998
}

Semantic roles & 50–950 ramp

primary
#D07CEE
secondary
#DCF2D4
accent
#D90C42
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #D07CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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