#D07CEA#D07CEA

#D07CEA is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.7% C 0.175 H 317.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#D07CEA
RGBrgb(208, 124, 234)
HSLhsl(286, 72%, 70%)
HSVhsv(286, 47%, 92%)
CMYKcmyk(11.1%, 47%, 0%, 8.2%)
CIE-LABlab(64.78, 50.19, -42.55)
CIE-LCHlch(64.78, 65.80, 319.71°)
OKLaboklab(71.71% 0.13 -0.1178)
OKLCHoklch(71.71% 0.175 317.8)
XYZxyz(48.0693, 33.7673, 81.8116)
Luminance0.3377 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07CEA #96EA7C
analogous
#997CEA #D07CEA #EA7CCD
triadic
#D07CEA #EAD07C #7CEAD0
tetradic
#D07CEA #EA997C #96EA7C #7CCDEA
square
#D07CEA #EA997C #96EA7C #7CCDEA
split-complementary
#D07CEA #CDEA7C #7CEA99
monochromatic
#A321CB #BD47E2 #D07CEA #E3B1F2 #F6E5FB

Accessibility & contrast

On white

2.71
#D07CEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#D07CEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07CEA
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07CEA#FFFFFF#000000##000000
##D07CEA1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898EE
Deuteranopia (green-blind)
#80A0E7
Tritanopia (blue-blind)
#D08BA8
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d07cea;
/* rgb */ color: rgb(208, 124, 234);
/* oklch */ color: oklch(71.7% 0.175 317.8);
Tailwind
colors: {
  custom: {
    50: '#e0a4f1',
    500: '#d07cea',
    950: '#000000',
  },
}
SCSS
$custom: #d07cea;
$custom-light: #e0a4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d07cea",
  "rgb": {
    "r": 208,
    "g": 124,
    "b": 234
  },
  "hsl": {
    "h": 285.818,
    "s": 72.368,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71707,
    "c": 0.17547,
    "h": 317.8
  },
  "luminance": 0.33766
}

Semantic roles & 50–950 ramp

primary
#D07CEA
secondary
#D9F0D2
accent
#D4113F
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #D07CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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