#D27FF7#D27FF7

#D27FF7 is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.0% C 0.185 H 314.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#D27FF7
RGBrgb(210, 127, 247)
HSLhsl(282, 88%, 73%)
HSVhsv(282, 49%, 97%)
CMYKcmyk(15%, 48.6%, 0%, 3.1%)
CIE-LABlab(66.21, 51.82, -47.45)
CIE-LCHlch(66.21, 70.26, 317.52°)
OKLaboklab(73.02% 0.13 -0.132)
OKLCHoklch(73.02% 0.185 314.6)
XYZxyz(50.9535, 35.5971, 92.1645)
Luminance0.3560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FF7 #A4F77F
analogous
#967FF7 #D27FF7 #F77FE0
triadic
#D27FF7 #F7D27F #7FF7D2
tetradic
#D27FF7 #F7967F #A4F77F #7FE0F7
square
#D27FF7 #F7967F #A4F77F #7FE0F7
split-complementary
#D27FF7 #E0F77F #7FF796
monochromatic
#A80FED #BE45F3 #D27FF7 #E6B9FB #F5E2FD

Accessibility & contrast

On white

2.59
#D27FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#D27FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FF7
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FF7#FFFFFF#000000##000000
##D27FF71.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#659CFB
Deuteranopia (green-blind)
#7EA3F4
Tritanopia (blue-blind)
#CF91B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d27ff7;
/* rgb */ color: rgb(210, 127, 247);
/* oklch */ color: oklch(73.0% 0.185 314.6);
Tailwind
colors: {
  custom: {
    50: '#e2a6fa',
    500: '#d27ff7',
    950: '#000000',
  },
}
SCSS
$custom: #d27ff7;
$custom-light: #e2a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ff7",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 281.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7302,
    "c": 0.18525,
    "h": 314.6
  },
  "luminance": 0.35596
}

Semantic roles & 50–950 ramp

primary
#D27FF7
secondary
#DFF5D6
accent
#E50147
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D27FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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