#D27FE7#D27FE7

#D27FE7 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.2% C 0.168 H 319.3°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#D27FE7
RGBrgb(210, 127, 231)
HSLhsl(288, 68%, 70%)
HSVhsv(288, 45%, 91%)
CMYKcmyk(9.1%, 45%, 0%, 9.4%)
CIE-LABlab(65.48, 48.60, -39.78)
CIE-LCHlch(65.48, 62.81, 320.70°)
OKLaboklab(72.23% 0.1277 -0.1098)
OKLCHoklch(72.23% 0.168 319.3)
XYZxyz(48.5897, 34.6516, 79.7147)
Luminance0.3465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FE7 #94E77F
analogous
#9E7FE7 #D27FE7 #E77FC8
triadic
#D27FE7 #E7D27F #7FE7D2
tetradic
#D27FE7 #E79E7F #94E77F #7FC8E7
square
#D27FE7 #E79E7F #94E77F #7FC8E7
split-complementary
#D27FE7 #C8E77F #7FE79E
monochromatic
#A625C6 #C04BDD #D27FE7 #E4B3F1 #F6E5FA

Accessibility & contrast

On white

2.65
#D27FE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#D27FE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FE7
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FE7#FFFFFF#000000##000000
##D27FE71.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F99EB
Deuteranopia (green-blind)
#86A2E4
Tritanopia (blue-blind)
#D38DA8
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d27fe7;
/* rgb */ color: rgb(210, 127, 231);
/* oklch */ color: oklch(72.2% 0.168 319.3);
Tailwind
colors: {
  custom: {
    50: '#e1a6ef',
    500: '#d27fe7',
    950: '#000000',
  },
}
SCSS
$custom: #d27fe7;
$custom-light: #e1a6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d27fe7",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 231
  },
  "hsl": {
    "h": 287.885,
    "s": 68.421,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72233,
    "c": 0.16845,
    "h": 319.3
  },
  "luminance": 0.3465
}

Semantic roles & 50–950 ramp

primary
#D27FE7
secondary
#D8EFD2
accent
#D0153B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #D27FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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