#D27EC7#D27EC7

#D27EC7 is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.7% C 0.139 H 331.8°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#D27EC7
RGBrgb(210, 126, 199)
HSLhsl(308, 48%, 66%)
HSVhsv(308, 40%, 82%)
CMYKcmyk(0%, 40%, 5.2%, 17.6%)
CIE-LABlab(63.96, 43.16, -24.28)
CIE-LCHlch(63.96, 49.52, 330.65°)
OKLaboklab(70.67% 0.1226 -0.0657)
OKLCHoklch(70.67% 0.139 331.8)
XYZxyz(44.3476, 32.7491, 58.0070)
Luminance0.3275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27EC7 #7ED289
analogous
#B37ED2 #D27EC7 #D27E9D
triadic
#D27EC7 #C7D27E #7EC7D2
tetradic
#D27EC7 #D2B37E #7ED289 #7E9DD2
square
#D27EC7 #D2B37E #7ED289 #7E9DD2
split-complementary
#D27EC7 #9DD27E #7ED2B3
monochromatic
#9E3791 #C251B3 #D27EC7 #E2ABDB #F2D9EE

Accessibility & contrast

On white

2.78
#D27EC7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#D27EC7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27EC7
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27EC7#FFFFFF#000000##000000
##D27EC71.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C94CA
Deuteranopia (green-blind)
#929FC4
Tritanopia (blue-blind)
#D9839A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d27ec7;
/* rgb */ color: rgb(210, 126, 199);
/* oklch */ color: oklch(70.7% 0.139 331.8);
Tailwind
colors: {
  custom: {
    50: '#e1a5d8',
    500: '#d27ec7',
    950: '#000000',
  },
}
SCSS
$custom: #d27ec7;
$custom-light: #e1a5d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ec7",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 199
  },
  "hsl": {
    "h": 307.857,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70665,
    "c": 0.13906,
    "h": 331.8
  },
  "luminance": 0.32747
}

Semantic roles & 50–950 ramp

primary
#D27EC7
secondary
#C8E4CC
accent
#BC3D2A
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #D27EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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