#D07AEF#D07AEF

#D07AEF is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.7% C 0.184 H 316.5°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#D07AEF
RGBrgb(208, 122, 239)
HSLhsl(284, 79%, 71%)
HSVhsv(284, 49%, 94%)
CMYKcmyk(13%, 49%, 0%, 6.3%)
CIE-LABlab(64.61, 52.21, -45.57)
CIE-LCHlch(64.61, 69.30, 318.88°)
OKLaboklab(71.66% 0.1334 -0.1266)
OKLCHoklch(71.66% 0.184 316.5)
XYZxyz(48.5496, 33.5625, 85.5654)
Luminance0.3356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07AEF #99EF7A
analogous
#957AEF #D07AEF #EF7AD3
triadic
#D07AEF #EFD07A #7AEFD0
tetradic
#D07AEF #EF957A #99EF7A #7AD3EF
square
#D07AEF #EF957A #99EF7A #7AD3EF
split-complementary
#D07AEF #D3EF7A #7AEF95
monochromatic
#A31AD5 #BD43E8 #D07AEF #E3B1F6 #F5E4FC

Accessibility & contrast

On white

2.72
#D07AEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#D07AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07AEF
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07AEF#FFFFFF#000000##000000
##D07AEF1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6397F3
Deuteranopia (green-blind)
#7C9FEC
Tritanopia (blue-blind)
#CF8BAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d07aef;
/* rgb */ color: rgb(208, 122, 239);
/* oklch */ color: oklch(71.7% 0.184 316.5);
Tailwind
colors: {
  custom: {
    50: '#e0a3f4',
    500: '#d07aef',
    950: '#000000',
  },
}
SCSS
$custom: #d07aef;
$custom-light: #e0a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d07aef",
  "rgb": {
    "r": 208,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 284.103,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71661,
    "c": 0.18389,
    "h": 316.5
  },
  "luminance": 0.33561
}

Semantic roles & 50–950 ramp

primary
#D07AEF
secondary
#DBF2D3
accent
#DB0B42
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F17
muted
#847F85

Preview Lab

Preview with #D07AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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