#D07EFE#D07EFE

#D07EFE is a light, vivid violet. Relative luminance 0.355; OKLCH L 73.0% C 0.194 H 312.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D07EFE
RGBrgb(208, 126, 254)
HSLhsl(278, 98%, 75%)
HSVhsv(278, 50%, 100%)
CMYKcmyk(18.1%, 50.4%, 0%, 0.4%)
CIE-LABlab(66.13, 53.26, -51.43)
CIE-LCHlch(66.13, 74.04, 316.00°)
OKLaboklab(73.02% 0.1297 -0.1436)
OKLCHoklch(73.02% 0.194 312.1)
XYZxyz(51.3595, 35.4885, 97.8911)
Luminance0.3549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07EFE #ACFE7E
analogous
#907EFE #D07EFE #FE7EEC
triadic
#D07EFE #FED07E #7EFED0
tetradic
#D07EFE #FE907E #ACFE7E #7EECFE
square
#D07EFE #FE907E #ACFE7E #7EECFE
split-complementary
#D07EFE #ECFE7E #7EFE90
monochromatic
#A405FD #BA41FE #D07EFE #E6BBFE #F4E1FF

Accessibility & contrast

On white

2.59
#D07EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#D07EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07EFE
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07EFE#FFFFFF#000000##000000
##D07EFE1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#77A3FB
Tritanopia (blue-blind)
#CB93B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d07efe;
/* rgb */ color: rgb(208, 126, 254);
/* oklch */ color: oklch(73.0% 0.194 312.1);
Tailwind
colors: {
  custom: {
    50: '#e1a6ff',
    500: '#d07efe',
    950: '#000000',
  },
}
SCSS
$custom: #d07efe;
$custom-light: #e1a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d07efe",
  "rgb": {
    "r": 208,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 278.438,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73018,
    "c": 0.19352,
    "h": 312.1
  },
  "luminance": 0.35487
}

Semantic roles & 50–950 ramp

primary
#D07EFE
secondary
#E1F7D4
accent
#E60052
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D07EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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