#D07AFE#D07AFE

#D07AFE is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.4% C 0.200 H 312.5°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D07AFE
RGBrgb(208, 122, 254)
HSLhsl(279, 99%, 74%)
HSVhsv(279, 52%, 100%)
CMYKcmyk(18.1%, 52%, 0%, 0.4%)
CIE-LABlab(65.35, 55.29, -52.67)
CIE-LCHlch(65.35, 76.36, 316.39°)
OKLaboklab(72.44% 0.1349 -0.1472)
OKLCHoklch(72.44% 0.2 312.5)
XYZxyz(50.8582, 34.4859, 97.7240)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07AFE #A8FE7A
analogous
#8E7AFE #D07AFE #FE7AEA
triadic
#D07AFE #FED07A #7AFED0
tetradic
#D07AFE #FE8E7A #A8FE7A #7AEAFE
square
#D07AFE #FE8E7A #A8FE7A #7AEAFE
split-complementary
#D07AFE #EAFE7A #7AFE8E
monochromatic
#A502FC #BB3DFE #D07AFE #E5B7FE #F4E1FF

Accessibility & contrast

On white

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

On black

7.90
#D07AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07AFE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07AFE#FFFFFF#000000##000000
##D07AFE1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#589AFF
Deuteranopia (green-blind)
#74A1FB
Tritanopia (blue-blind)
#CB90B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d07afe;
/* rgb */ color: rgb(208, 122, 254);
/* oklch */ color: oklch(72.4% 0.200 312.5);
Tailwind
colors: {
  custom: {
    50: '#e1a3ff',
    500: '#d07afe',
    950: '#000000',
  },
}
SCSS
$custom: #d07afe;
$custom-light: #e1a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d07afe",
  "rgb": {
    "r": 208,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 279.091,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72441,
    "c": 0.19967,
    "h": 312.5
  },
  "luminance": 0.34485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D07AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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