#D07FF2#D07FF2

#D07FF2 is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.5% C 0.179 H 315.2°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#D07FF2
RGBrgb(208, 127, 242)
HSLhsl(282, 82%, 72%)
HSVhsv(282, 48%, 95%)
CMYKcmyk(14%, 47.5%, 0%, 5.1%)
CIE-LABlab(65.75, 50.25, -45.44)
CIE-LCHlch(65.75, 67.75, 317.88°)
OKLaboklab(72.55% 0.127 -0.1262)
OKLCHoklch(72.55% 0.179 315.2)
XYZxyz(49.6263, 35.0008, 88.1288)
Luminance0.3500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07FF2 #A1F27F
analogous
#977FF2 #D07FF2 #F27FDA
triadic
#D07FF2 #F2D07F #7FF2D0
tetradic
#D07FF2 #F2977F #A1F27F #7FDAF2
square
#D07FF2 #F2977F #A1F27F #7FDAF2
split-complementary
#D07FF2 #DAF27F #7FF297
monochromatic
#A417E0 #BC47EC #D07FF2 #E4B7F8 #F5E3FC

Accessibility & contrast

On white

2.63
#D07FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#D07FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07FF2
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07FF2#FFFFFF#000000##000000
##D07FF21.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#689BF6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#CE90AD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d07ff2;
/* rgb */ color: rgb(208, 127, 242);
/* oklch */ color: oklch(72.5% 0.179 315.2);
Tailwind
colors: {
  custom: {
    50: '#e0a6f7',
    500: '#d07ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d07ff2;
$custom-light: #e0a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d07ff2",
  "rgb": {
    "r": 208,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 282.261,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7255,
    "c": 0.17906,
    "h": 315.2
  },
  "luminance": 0.34999
}

Semantic roles & 50–950 ramp

primary
#D07FF2
secondary
#E0F4D7
accent
#DE0847
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#151017
muted
#847F85

Preview Lab

Preview with #D07FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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