#D07FE2#D07FE2

#D07FE2 is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.8% C 0.162 H 320.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#D07FE2
RGBrgb(208, 127, 226)
HSLhsl(289, 63%, 69%)
HSVhsv(289, 44%, 89%)
CMYKcmyk(8%, 43.8%, 0%, 11.4%)
CIE-LABlab(65.03, 47.05, -37.73)
CIE-LCHlch(65.03, 60.31, 321.28°)
OKLaboklab(71.78% 0.1246 -0.104)
OKLCHoklch(71.78% 0.162 320.1)
XYZxyz(47.3276, 34.0813, 76.0221)
Luminance0.3408 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D07FE2 #91E27F
analogous
#9F7FE2 #D07FE2 #E27FC3
triadic
#D07FE2 #E2D07F #7FE2D0
tetradic
#D07FE2 #E29F7F #91E27F #7FC3E2
square
#D07FE2 #E29F7F #91E27F #7FC3E2
split-complementary
#D07FE2 #C3E27F #7FE29F
monochromatic
#A22BBC #BE4DD7 #D07FE2 #E2B1ED #F5E3F9

Accessibility & contrast

On white

2.69
#D07FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#D07FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D07FE2
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D07FE2#FFFFFF#000000##000000
##D07FE21.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7198E5
Deuteranopia (green-blind)
#87A1DF
Tritanopia (blue-blind)
#D18CA6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d07fe2;
/* rgb */ color: rgb(208, 127, 226);
/* oklch */ color: oklch(71.8% 0.162 320.1);
Tailwind
colors: {
  custom: {
    50: '#e0a6eb',
    500: '#d07fe2',
    950: '#000000',
  },
}
SCSS
$custom: #d07fe2;
$custom-light: #e0a6eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d07fe2",
  "rgb": {
    "r": 208,
    "g": 127,
    "b": 226
  },
  "hsl": {
    "h": 289.091,
    "s": 63.057,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71776,
    "c": 0.16225,
    "h": 320.1
  },
  "luminance": 0.3408
}

Semantic roles & 50–950 ramp

primary
#D07FE2
secondary
#D5EDD0
accent
#CB1B3B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #D07FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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