#D07DF2#D07DF2

#D07DF2 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.3% C 0.182 H 315.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D07DF2
RGBrgb(208, 125, 242)
HSLhsl(283, 82%, 72%)
HSVhsv(283, 48%, 95%)
CMYKcmyk(14%, 48.3%, 0%, 5.1%)
CIE-LABlab(65.35, 51.28, -46.07)
CIE-LCHlch(65.35, 68.94, 318.07°)
OKLaboklab(72.25% 0.1297 -0.128)
OKLCHoklch(72.25% 0.182 315.4)
XYZxyz(49.3706, 34.4893, 88.0436)
Luminance0.3449 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07DF2 #9FF27D
analogous
#967DF2 #D07DF2 #F27DDA
triadic
#D07DF2 #F2D07D #7DF2D0
tetradic
#D07DF2 #F2967D #9FF27D #7DDAF2
square
#D07DF2 #F2967D #9FF27D #7DDAF2
split-complementary
#D07DF2 #DAF27D #7DF296
monochromatic
#A416DE #BC45EC #D07DF2 #E4B5F8 #F5E3FC

Accessibility & contrast

On white

2.66
#D07DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#D07DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07DF2
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07DF2#FFFFFF#000000##000000
##D07DF21.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF6
Deuteranopia (green-blind)
#7DA1EF
Tritanopia (blue-blind)
#CE8EAC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d07df2;
/* rgb */ color: rgb(208, 125, 242);
/* oklch */ color: oklch(72.3% 0.182 315.4);
Tailwind
colors: {
  custom: {
    50: '#e0a5f7',
    500: '#d07df2',
    950: '#000000',
  },
}
SCSS
$custom: #d07df2;
$custom-light: #e0a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d07df2",
  "rgb": {
    "r": 208,
    "g": 125,
    "b": 242
  },
  "hsl": {
    "h": 282.564,
    "s": 81.818,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72253,
    "c": 0.18226,
    "h": 315.4
  },
  "luminance": 0.34488
}

Semantic roles & 50–950 ramp

primary
#D07DF2
secondary
#DFF4D7
accent
#DE0746
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #D07DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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