#D07EFA#D07EFA

#D07EFA is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.8% C 0.189 H 313.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#D07EFA
RGBrgb(208, 126, 250)
HSLhsl(280, 93%, 74%)
HSVhsv(280, 50%, 98%)
CMYKcmyk(16.8%, 49.6%, 0%, 2%)
CIE-LABlab(65.93, 52.42, -49.55)
CIE-LCHlch(65.93, 72.13, 316.61°)
OKLaboklab(72.81% 0.1293 -0.1381)
OKLCHoklch(72.81% 0.189 313.1)
XYZxyz(50.7257, 35.2349, 94.5528)
Luminance0.3523 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07EFA #A8FA7E
analogous
#927EFA #D07EFA #FA7EE6
triadic
#D07EFA #FAD07E #7EFAD0
tetradic
#D07EFA #FA927E #A8FA7E #7EE6FA
square
#D07EFA #FA927E #A8FA7E #7EE6FA
split-complementary
#D07EFA #E6FA7E #7EFA92
monochromatic
#A509F4 #BB43F8 #D07EFA #E5B9FC #F4E2FE

Accessibility & contrast

On white

2.61
#D07EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#D07EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07EFA
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07EFA#FFFFFF#000000##000000
##D07EFA1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#7AA2F7
Tritanopia (blue-blind)
#CC92B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d07efa;
/* rgb */ color: rgb(208, 126, 250);
/* oklch */ color: oklch(72.8% 0.189 313.1);
Tailwind
colors: {
  custom: {
    50: '#e1a6fc',
    500: '#d07efa',
    950: '#000000',
  },
}
SCSS
$custom: #d07efa;
$custom-light: #e1a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d07efa",
  "rgb": {
    "r": 208,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 279.677,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72809,
    "c": 0.18921,
    "h": 313.1
  },
  "luminance": 0.35234
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D07EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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