#D27EF8#D27EF8

#D27EF8 is a light, vivid purple. Relative luminance 0.354; OKLCH L 72.9% C 0.188 H 314.4°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#D27EF8
RGBrgb(210, 126, 248)
HSLhsl(281, 90%, 73%)
HSVhsv(281, 49%, 97%)
CMYKcmyk(15.3%, 49.2%, 0%, 2.7%)
CIE-LABlab(66.06, 52.54, -48.23)
CIE-LCHlch(66.06, 71.32, 317.45°)
OKLaboklab(72.92% 0.1314 -0.1343)
OKLCHoklch(72.92% 0.188 314.4)
XYZxyz(50.9797, 35.4020, 92.9365)
Luminance0.3540 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27EF8 #A4F87E
analogous
#957EF8 #D27EF8 #F87EE1
triadic
#D27EF8 #F8D27E #7EF8D2
tetradic
#D27EF8 #F8957E #A4F87E #7EE1F8
square
#D27EF8 #F8957E #A4F87E #7EE1F8
split-complementary
#D27EF8 #E1F87E #7EF895
monochromatic
#A80DEF #BE44F5 #D27EF8 #E6B8FB #F5E2FD

Accessibility & contrast

On white

2.60
#D27EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#D27EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27EF8
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27EF8#FFFFFF#000000##000000
##D27EF81.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFC
Deuteranopia (green-blind)
#7CA3F5
Tritanopia (blue-blind)
#CF91B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d27ef8;
/* rgb */ color: rgb(210, 126, 248);
/* oklch */ color: oklch(72.9% 0.188 314.4);
Tailwind
colors: {
  custom: {
    50: '#e2a6fb',
    500: '#d27ef8',
    950: '#000000',
  },
}
SCSS
$custom: #d27ef8;
$custom-light: #e2a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ef8",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 281.311,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.72923,
    "c": 0.18789,
    "h": 314.4
  },
  "luminance": 0.35401
}

Semantic roles & 50–950 ramp

primary
#D27EF8
secondary
#DFF6D5
accent
#E60047
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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