#D27FEE#D27FEE

#D27FEE is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.6% C 0.176 H 317.1°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#D27FEE
RGBrgb(210, 127, 238)
HSLhsl(285, 77%, 72%)
HSVhsv(285, 47%, 93%)
CMYKcmyk(11.8%, 46.6%, 0%, 6.7%)
CIE-LABlab(65.79, 49.99, -43.15)
CIE-LCHlch(65.79, 66.04, 319.20°)
OKLaboklab(72.57% 0.1288 -0.1196)
OKLCHoklch(72.57% 0.176 317.1)
XYZxyz(49.5981, 35.0550, 85.0259)
Luminance0.3505 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FEE #9BEE7F
analogous
#9B7FEE #D27FEE #EE7FD3
triadic
#D27FEE #EED27F #7FEED2
tetradic
#D27FEE #EE9B7F #9BEE7F #7FD3EE
square
#D27FEE #EE9B7F #9BEE7F #7FD3EE
split-complementary
#D27FEE #D3EE7F #7FEE9B
monochromatic
#A71CD6 #BF49E7 #D27FEE #E5B5F5 #F6E4FB

Accessibility & contrast

On white

2.62
#D27FEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#D27FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FEE
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FEE#FFFFFF#000000##000000
##D27FEE1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9BF2
Deuteranopia (green-blind)
#82A2EB
Tritanopia (blue-blind)
#D18FAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d27fee;
/* rgb */ color: rgb(210, 127, 238);
/* oklch */ color: oklch(72.6% 0.176 317.1);
Tailwind
colors: {
  custom: {
    50: '#e2a6f4',
    500: '#d27fee',
    950: '#000000',
  },
}
SCSS
$custom: #d27fee;
$custom-light: #e2a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d27fee",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 284.865,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72571,
    "c": 0.17573,
    "h": 317.1
  },
  "luminance": 0.35053
}

Semantic roles & 50–950 ramp

primary
#D27FEE
secondary
#DDF3D6
accent
#D90D40
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D27FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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