#D07EF2#D07EF2

#D07EF2 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.4% C 0.181 H 315.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#D07EF2
RGBrgb(208, 126, 242)
HSLhsl(282, 82%, 72%)
HSVhsv(282, 48%, 95%)
CMYKcmyk(14%, 47.9%, 0%, 5.1%)
CIE-LABlab(65.55, 50.77, -45.76)
CIE-LCHlch(65.55, 68.34, 317.97°)
OKLaboklab(72.4% 0.1284 -0.1271)
OKLCHoklch(72.4% 0.181 315.3)
XYZxyz(49.4978, 34.7438, 88.0860)
Luminance0.3474 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07EF2 #A0F27E
analogous
#967EF2 #D07EF2 #F27EDA
triadic
#D07EF2 #F2D07E #7EF2D0
tetradic
#D07EF2 #F2967E #A0F27E #7EDAF2
square
#D07EF2 #F2967E #A0F27E #7EDAF2
split-complementary
#D07EF2 #DAF27E #7EF296
monochromatic
#A416DF #BC46EC #D07EF2 #E4B6F8 #F5E3FC

Accessibility & contrast

On white

2.64
#D07EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#D07EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07EF2
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07EF2#FFFFFF#000000##000000
##D07EF21.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#7EA2EF
Tritanopia (blue-blind)
#CE8FAD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d07ef2;
/* rgb */ color: rgb(208, 126, 242);
/* oklch */ color: oklch(72.4% 0.181 315.3);
Tailwind
colors: {
  custom: {
    50: '#e0a6f7',
    500: '#d07ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d07ef2;
$custom-light: #e0a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d07ef2",
  "rgb": {
    "r": 208,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 282.414,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72401,
    "c": 0.18067,
    "h": 315.3
  },
  "luminance": 0.34742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D07EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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