#D27DF7#D27DF7

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

Color values

HEX#D27DF7
RGBrgb(210, 125, 247)
HSLhsl(282, 88%, 73%)
HSVhsv(282, 49%, 97%)
CMYKcmyk(15%, 49.4%, 0%, 3.1%)
CIE-LABlab(65.82, 52.84, -48.07)
CIE-LCHlch(65.82, 71.44, 317.71°)
OKLaboklab(72.73% 0.1327 -0.1338)
OKLCHoklch(72.73% 0.188 314.8)
XYZxyz(50.6978, 35.0857, 92.0792)
Luminance0.3508 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27DF7 #A2F77D
analogous
#957DF7 #D27DF7 #F77DDF
triadic
#D27DF7 #F7D27D #7DF7D2
tetradic
#D27DF7 #F7957D #A2F77D #7DDFF7
square
#D27DF7 #F7957D #A2F77D #7DDFF7
split-complementary
#D27DF7 #DFF77D #7DF795
monochromatic
#A80EEB #BE43F3 #D27DF7 #E6B7FB #F5E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D27DF7#FFFFFF#000000##000000
##D27DF71.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)
#639BFB
Deuteranopia (green-blind)
#7CA2F4
Tritanopia (blue-blind)
#CF90AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d27df7;
/* rgb */ color: rgb(210, 125, 247);
/* oklch */ color: oklch(72.7% 0.188 314.8);
Tailwind
colors: {
  custom: {
    50: '#e2a5fa',
    500: '#d27df7',
    950: '#000000',
  },
}
SCSS
$custom: #d27df7;
$custom-light: #e2a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d27df7",
  "rgb": {
    "r": 210,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 281.803,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72726,
    "c": 0.1884,
    "h": 314.8
  },
  "luminance": 0.35084
}

Semantic roles & 50–950 ramp

primary
#D27DF7
secondary
#DFF5D6
accent
#E50046
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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