#D07EFD#D07EFD

#D07EFD is a light, vivid violet. Relative luminance 0.354; OKLCH L 73.0% C 0.192 H 312.3°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#D07EFD
RGBrgb(208, 126, 253)
HSLhsl(279, 97%, 74%)
HSVhsv(279, 50%, 99%)
CMYKcmyk(17.8%, 50.2%, 0%, 0.8%)
CIE-LABlab(66.08, 53.05, -50.96)
CIE-LCHlch(66.08, 73.56, 316.15°)
OKLaboklab(72.97% 0.1296 -0.1422)
OKLCHoklch(72.97% 0.192 312.3)
XYZxyz(51.1998, 35.4246, 97.0500)
Luminance0.3542 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07EFD #ABFD7E
analogous
#917EFD #D07EFD #FD7EEB
triadic
#D07EFD #FDD07E #7EFDD0
tetradic
#D07EFD #FD917E #ABFD7E #7EEBFD
square
#D07EFD #FD917E #ABFD7E #7EEBFD
split-complementary
#D07EFD #EBFD7E #7EFD91
monochromatic
#A405FB #BA42FC #D07EFD #E6BAFE #F4E1FF

Accessibility & contrast

On white

2.60
#D07EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#D07EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07EFD
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07EFD#FFFFFF#000000##000000
##D07EFD1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#78A2FA
Tritanopia (blue-blind)
#CB93B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d07efd;
/* rgb */ color: rgb(208, 126, 253);
/* oklch */ color: oklch(73.0% 0.192 312.3);
Tailwind
colors: {
  custom: {
    50: '#e1a6fe',
    500: '#d07efd',
    950: '#000000',
  },
}
SCSS
$custom: #d07efd;
$custom-light: #e1a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d07efd",
  "rgb": {
    "r": 208,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 278.74,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72966,
    "c": 0.19244,
    "h": 312.3
  },
  "luminance": 0.35423
}

Semantic roles & 50–950 ramp

primary
#D07EFD
secondary
#E0F7D4
accent
#E60051
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D07EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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