#D07DFC#D07DFC

#D07DFC is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.8% C 0.193 H 312.7°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#D07DFC
RGBrgb(208, 125, 252)
HSLhsl(279, 95%, 74%)
HSVhsv(279, 50%, 99%)
CMYKcmyk(17.5%, 50.4%, 0%, 1.2%)
CIE-LABlab(65.83, 53.35, -50.80)
CIE-LCHlch(65.83, 73.67, 316.40°)
OKLaboklab(72.77% 0.1308 -0.1418)
OKLCHoklch(72.77% 0.193 312.7)
XYZxyz(50.9137, 35.1066, 96.1708)
Luminance0.3510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07DFC #A9FC7D
analogous
#917DFC #D07DFC #FC7DE8
triadic
#D07DFC #FCD07D #7DFCD0
tetradic
#D07DFC #FC917D #A9FC7D #7DE8FC
square
#D07DFC #FC917D #A9FC7D #7DE8FC
split-complementary
#D07DFC #E8FC7D #7DFC91
monochromatic
#A506F9 #BA41FB #D07DFC #E6B9FD #F4E1FE

Accessibility & contrast

On white

2.62
#D07DFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.02
#D07DFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07DFC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07DFC#FFFFFF#000000##000000
##D07DFC1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#78A2F9
Tritanopia (blue-blind)
#CC91B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d07dfc;
/* rgb */ color: rgb(208, 125, 252);
/* oklch */ color: oklch(72.8% 0.193 312.7);
Tailwind
colors: {
  custom: {
    50: '#e1a5fe',
    500: '#d07dfc',
    950: '#000000',
  },
}
SCSS
$custom: #d07dfc;
$custom-light: #e1a5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d07dfc",
  "rgb": {
    "r": 208,
    "g": 125,
    "b": 252
  },
  "hsl": {
    "h": 279.213,
    "s": 95.489,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72767,
    "c": 0.19292,
    "h": 312.7
  },
  "luminance": 0.35105
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D07DFC

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

Preview Lab → · Contrast checker → · Palette generator →

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