#D07CEF#D07CEF

#D07CEF is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.0% C 0.181 H 316.3°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#D07CEF
RGBrgb(208, 124, 239)
HSLhsl(284, 78%, 71%)
HSVhsv(284, 48%, 94%)
CMYKcmyk(13%, 48.1%, 0%, 6.3%)
CIE-LABlab(65.01, 51.19, -44.95)
CIE-LCHlch(65.01, 68.12, 318.71°)
OKLaboklab(71.95% 0.1307 -0.1248)
OKLCHoklch(71.95% 0.181 316.3)
XYZxyz(48.7977, 34.0587, 85.6481)
Luminance0.3406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07CEF #9BEF7C
analogous
#967CEF #D07CEF #EF7CD4
triadic
#D07CEF #EFD07C #7CEFD0
tetradic
#D07CEF #EF967C #9BEF7C #7CD4EF
square
#D07CEF #EF967C #9BEF7C #7CD4EF
split-complementary
#D07CEF #D4EF7C #7CEF96
monochromatic
#A41AD6 #BC45E8 #D07CEF #E4B3F6 #F5E4FC

Accessibility & contrast

On white

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

On black

7.81
#D07CEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07CEF
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07CEF#FFFFFF#000000##000000
##D07CEF1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6599F3
Deuteranopia (green-blind)
#7EA0EC
Tritanopia (blue-blind)
#CF8DAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d07cef;
/* rgb */ color: rgb(208, 124, 239);
/* oklch */ color: oklch(72.0% 0.181 316.3);
Tailwind
colors: {
  custom: {
    50: '#e0a4f4',
    500: '#d07cef',
    950: '#000000',
  },
}
SCSS
$custom: #d07cef;
$custom-light: #e0a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d07cef",
  "rgb": {
    "r": 208,
    "g": 124,
    "b": 239
  },
  "hsl": {
    "h": 283.826,
    "s": 78.231,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71954,
    "c": 0.18071,
    "h": 316.3
  },
  "luminance": 0.34057
}

Semantic roles & 50–950 ramp

primary
#D07CEF
secondary
#DCF3D4
accent
#DA0B43
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #D07CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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