#D27ECC#D27ECC

#D27ECC is a light, vivid purple. Relative luminance 0.330; OKLCH L 70.9% C 0.144 H 329.5°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#D27ECC
RGBrgb(210, 126, 204)
HSLhsl(304, 48%, 66%)
HSVhsv(304, 40%, 82%)
CMYKcmyk(0%, 40%, 2.9%, 17.6%)
CIE-LABlab(64.15, 44.05, -26.79)
CIE-LCHlch(64.15, 51.56, 328.69°)
OKLaboklab(70.87% 0.1238 -0.0728)
OKLCHoklch(70.87% 0.144 329.5)
XYZxyz(44.9376, 32.9852, 61.1148)
Luminance0.3298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27ECC #7ED284
analogous
#AE7ED2 #D27ECC #D27EA2
triadic
#D27ECC #CCD27E #7ECCD2
tetradic
#D27ECC #D2AE7E #7ED284 #7EA2D2
square
#D27ECC #D2AE7E #7ED284 #7EA2D2
split-complementary
#D27ECC #A2D27E #7ED2AE
monochromatic
#9E3797 #C251BA #D27ECC #E2ABDE #F2D9F0

Accessibility & contrast

On white

2.76
#D27ECC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#D27ECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27ECC
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27ECC#FFFFFF#000000##000000
##D27ECC1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A94CF
Deuteranopia (green-blind)
#90A0C9
Tritanopia (blue-blind)
#D8859C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d27ecc;
/* rgb */ color: rgb(210, 126, 204);
/* oklch */ color: oklch(70.9% 0.144 329.5);
Tailwind
colors: {
  custom: {
    50: '#e1a5db',
    500: '#d27ecc',
    950: '#000000',
  },
}
SCSS
$custom: #d27ecc;
$custom-light: #e1a5db;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ecc",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 204
  },
  "hsl": {
    "h": 304.286,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70872,
    "c": 0.14359,
    "h": 329.5
  },
  "luminance": 0.32983
}

Semantic roles & 50–950 ramp

primary
#D27ECC
secondary
#C8E4CA
accent
#BC342A
background
#FEFAFD
surface
#FCF4FB
border
#D5CED4
text
#150F15
muted
#847F83

Preview Lab

Preview with #D27ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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