#D07AFD#D07AFD

#D07AFD is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.4% C 0.199 H 312.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#D07AFD
RGBrgb(208, 122, 253)
HSLhsl(279, 97%, 74%)
HSVhsv(279, 52%, 99%)
CMYKcmyk(17.8%, 51.8%, 0%, 0.8%)
CIE-LABlab(65.30, 55.08, -52.20)
CIE-LCHlch(65.30, 75.89, 316.54°)
OKLaboklab(72.39% 0.1349 -0.1458)
OKLCHoklch(72.39% 0.199 312.8)
XYZxyz(50.6985, 34.4220, 96.8829)
Luminance0.3442 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07AFD #A7FD7A
analogous
#8E7AFD #D07AFD #FD7AE9
triadic
#D07AFD #FDD07A #7AFDD0
tetradic
#D07AFD #FD8E7A #A7FD7A #7AE9FD
square
#D07AFD #FD8E7A #A7FD7A #7AE9FD
split-complementary
#D07AFD #E9FD7A #7AFD8E
monochromatic
#A504F9 #BB3EFC #D07AFD #E5B6FE #F4E1FF

Accessibility & contrast

On white

2.66
#D07AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#D07AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07AFD
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07AFD#FFFFFF#000000##000000
##D07AFD1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#74A1FA
Tritanopia (blue-blind)
#CC8FB0
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d07afd;
/* rgb */ color: rgb(208, 122, 253);
/* oklch */ color: oklch(72.4% 0.199 312.8);
Tailwind
colors: {
  custom: {
    50: '#e1a3fe',
    500: '#d07afd',
    950: '#000000',
  },
}
SCSS
$custom: #d07afd;
$custom-light: #e1a3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d07afd",
  "rgb": {
    "r": 208,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 279.389,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72388,
    "c": 0.19862,
    "h": 312.8
  },
  "luminance": 0.34421
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D07AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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