#D07AFB#D07AFB

#D07AFB is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.3% C 0.197 H 313.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#D07AFB
RGBrgb(208, 122, 251)
HSLhsl(280, 94%, 73%)
HSVhsv(280, 51%, 98%)
CMYKcmyk(17.1%, 51.4%, 0%, 1.6%)
CIE-LABlab(65.20, 54.67, -51.26)
CIE-LCHlch(65.20, 74.94, 316.84°)
OKLaboklab(72.28% 0.1347 -0.1431)
OKLCHoklch(72.28% 0.197 313.3)
XYZxyz(50.3816, 34.2953, 95.2137)
Luminance0.3429 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07AFB #A5FB7A
analogous
#8F7AFB #D07AFB #FB7AE5
triadic
#D07AFB #FBD07A #7AFBD0
tetradic
#D07AFB #FB8F7A #A5FB7A #7AE5FB
square
#D07AFB #FB8F7A #A5FB7A #7AE5FB
split-complementary
#D07AFB #E5FB7A #7AFB8F
monochromatic
#A507F3 #BB3FF9 #D07AFB #E5B5FD #F5E1FE

Accessibility & contrast

On white

2.67
#D07AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#D07AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07AFB
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07AFB#FFFFFF#000000##000000
##D07AFB1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#75A0F8
Tritanopia (blue-blind)
#CC8FAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d07afb;
/* rgb */ color: rgb(208, 122, 251);
/* oklch */ color: oklch(72.3% 0.197 313.3);
Tailwind
colors: {
  custom: {
    50: '#e1a3fd',
    500: '#d07afb',
    950: '#000000',
  },
}
SCSS
$custom: #d07afb;
$custom-light: #e1a3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d07afb",
  "rgb": {
    "r": 208,
    "g": 122,
    "b": 251
  },
  "hsl": {
    "h": 280,
    "s": 94.161,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72282,
    "c": 0.1965,
    "h": 313.3
  },
  "luminance": 0.34294
}

Semantic roles & 50–950 ramp

primary
#D07AFB
secondary
#E0F6D5
accent
#E6004C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D07AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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