#D27EE7#D27EE7

#D27EE7 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.1% C 0.170 H 319.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#D27EE7
RGBrgb(210, 126, 231)
HSLhsl(288, 69%, 70%)
HSVhsv(288, 45%, 91%)
CMYKcmyk(9.1%, 45.5%, 0%, 9.4%)
CIE-LABlab(65.27, 49.12, -40.09)
CIE-LCHlch(65.27, 63.41, 320.78°)
OKLaboklab(72.08% 0.1291 -0.1107)
OKLCHoklch(72.08% 0.17 319.4)
XYZxyz(48.4611, 34.3946, 79.6719)
Luminance0.3439 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27EE7 #93E77E
analogous
#9E7EE7 #D27EE7 #E77EC7
triadic
#D27EE7 #E7D27E #7EE7D2
tetradic
#D27EE7 #E79E7E #93E77E #7EC7E7
square
#D27EE7 #E79E7E #93E77E #7EC7E7
split-complementary
#D27EE7 #C7E77E #7EE79E
monochromatic
#A625C6 #C04ADD #D27EE7 #E4B2F1 #F6E5FA

Accessibility & contrast

On white

2.67
#D27EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#D27EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27EE7
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27EE7#FFFFFF#000000##000000
##D27EE71.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D99EB
Deuteranopia (green-blind)
#85A1E4
Tritanopia (blue-blind)
#D38CA8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d27ee7;
/* rgb */ color: rgb(210, 126, 231);
/* oklch */ color: oklch(72.1% 0.170 319.4);
Tailwind
colors: {
  custom: {
    50: '#e2a5ef',
    500: '#d27ee7',
    950: '#000000',
  },
}
SCSS
$custom: #d27ee7;
$custom-light: #e2a5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ee7",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 288,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.72083,
    "c": 0.1701,
    "h": 319.4
  },
  "luminance": 0.34393
}

Semantic roles & 50–950 ramp

primary
#D27EE7
secondary
#D8EFD2
accent
#D1153A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D27EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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