#D07AFA#D07AFA

#D07AFA is a light, vivid purple. Relative luminance 0.342; OKLCH L 72.2% C 0.195 H 313.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#D07AFA
RGBrgb(208, 122, 250)
HSLhsl(280, 93%, 73%)
HSVhsv(280, 51%, 98%)
CMYKcmyk(16.8%, 51.2%, 0%, 2%)
CIE-LABlab(65.15, 54.46, -50.79)
CIE-LCHlch(65.15, 74.47, 317.00°)
OKLaboklab(72.23% 0.1346 -0.1417)
OKLCHoklch(72.23% 0.195 313.5)
XYZxyz(50.2244, 34.2324, 94.3857)
Luminance0.3423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07AFA #A4FA7A
analogous
#907AFA #D07AFA #FA7AE4
triadic
#D07AFA #FAD07A #7AFAD0
tetradic
#D07AFA #FA907A #A4FA7A #7AE4FA
square
#D07AFA #FA907A #A4FA7A #7AE4FA
split-complementary
#D07AFA #E4FA7A #7AFA90
monochromatic
#A509F1 #BB3FF8 #D07AFA #E5B5FC #F5E2FE

Accessibility & contrast

On white

2.68
#D07AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#D07AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07AFA
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07AFA#FFFFFF#000000##000000
##D07AFA1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FE
Deuteranopia (green-blind)
#76A0F7
Tritanopia (blue-blind)
#CC8FAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d07afa;
/* rgb */ color: rgb(208, 122, 250);
/* oklch */ color: oklch(72.2% 0.195 313.5);
Tailwind
colors: {
  custom: {
    50: '#e1a3fc',
    500: '#d07afa',
    950: '#000000',
  },
}
SCSS
$custom: #d07afa;
$custom-light: #e1a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d07afa",
  "rgb": {
    "r": 208,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 280.313,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72229,
    "c": 0.19544,
    "h": 313.5
  },
  "luminance": 0.34231
}

Semantic roles & 50–950 ramp

primary
#D07AFA
secondary
#E0F6D5
accent
#E6004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D07AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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