#D27ECF#D27ECF

#D27ECF is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.0% C 0.146 H 328.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#D27ECF
RGBrgb(210, 126, 207)
HSLhsl(302, 48%, 66%)
HSVhsv(302, 40%, 82%)
CMYKcmyk(0%, 40%, 1.4%, 17.6%)
CIE-LABlab(64.27, 44.59, -28.29)
CIE-LCHlch(64.27, 52.81, 327.61°)
OKLaboklab(71% 0.1245 -0.077)
OKLCHoklch(71% 0.146 328.3)
XYZxyz(45.3009, 33.1305, 63.0280)
Luminance0.3313 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27ECF #7ED281
analogous
#AB7ED2 #D27ECF #D27EA5
triadic
#D27ECF #CFD27E #7ECFD2
tetradic
#D27ECF #D2AB7E #7ED281 #7EA5D2
square
#D27ECF #D2AB7E #7ED281 #7EA5D2
split-complementary
#D27ECF #A5D27E #7ED2AB
monochromatic
#9E379B #C251BE #D27ECF #E2ABE0 #F2D9F1

Accessibility & contrast

On white

2.75
#D27ECF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#D27ECF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27ECF
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27ECF#FFFFFF#000000##000000
##D27ECF1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7995D2
Deuteranopia (green-blind)
#8FA0CC
Tritanopia (blue-blind)
#D7859D
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d27ecf;
/* rgb */ color: rgb(210, 126, 207);
/* oklch */ color: oklch(71.0% 0.146 328.3);
Tailwind
colors: {
  custom: {
    50: '#e1a5de',
    500: '#d27ecf',
    950: '#000000',
  },
}
SCSS
$custom: #d27ecf;
$custom-light: #e1a5de;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ecf",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 207
  },
  "hsl": {
    "h": 302.143,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70998,
    "c": 0.14637,
    "h": 328.3
  },
  "luminance": 0.33128
}

Semantic roles & 50–950 ramp

primary
#D27ECF
secondary
#C8E4C9
accent
#BC2F2A
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#150F15
muted
#847F83

Preview Lab

Preview with #D27ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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