#D27FEF#D27FEF

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

Color values

HEX#D27FEF
RGBrgb(210, 127, 239)
HSLhsl(284, 78%, 72%)
HSVhsv(284, 47%, 94%)
CMYKcmyk(12.1%, 46.9%, 0%, 6.3%)
CIE-LABlab(65.84, 50.19, -43.63)
CIE-LCHlch(65.84, 66.51, 319.00°)
OKLaboklab(72.62% 0.1289 -0.1209)
OKLCHoklch(72.62% 0.177 316.8)
XYZxyz(49.7454, 35.1139, 85.8018)
Luminance0.3511 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FEF #9CEF7F
analogous
#9A7FEF #D27FEF #EF7FD4
triadic
#D27FEF #EFD27F #7FEFD2
tetradic
#D27FEF #EF9A7F #9CEF7F #7FD4EF
square
#D27FEF #EF9A7F #9CEF7F #7FD4EF
split-complementary
#D27FEF #D4EF7F #7FEF9A
monochromatic
#A71BD9 #BF49E8 #D27FEF #E5B5F6 #F5E4FC

Accessibility & contrast

On white

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

On black

8.02
#D27FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FEF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FEF#FFFFFF#000000##000000
##D27FEF1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9BF3
Deuteranopia (green-blind)
#82A3EC
Tritanopia (blue-blind)
#D18FAC
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d27fef;
/* rgb */ color: rgb(210, 127, 239);
/* oklch */ color: oklch(72.6% 0.177 316.8);
Tailwind
colors: {
  custom: {
    50: '#e2a6f4',
    500: '#d27fef',
    950: '#000000',
  },
}
SCSS
$custom: #d27fef;
$custom-light: #e2a6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d27fef",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 284.464,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7262,
    "c": 0.17678,
    "h": 316.8
  },
  "luminance": 0.35112
}

Semantic roles & 50–950 ramp

primary
#D27FEF
secondary
#DEF3D7
accent
#DA0B41
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D27FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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