#D27FDF#D27FDF

#D27FDF is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.9% C 0.160 H 322.0°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#D27FDF
RGBrgb(210, 127, 223)
HSLhsl(292, 60%, 69%)
HSVhsv(292, 43%, 87%)
CMYKcmyk(5.8%, 43%, 0%, 12.5%)
CIE-LABlab(65.13, 47.05, -35.88)
CIE-LCHlch(65.13, 59.17, 322.67°)
OKLaboklab(71.86% 0.1263 -0.0986)
OKLCHoklch(71.86% 0.16 322)
XYZxyz(47.4855, 34.2099, 73.8996)
Luminance0.3421 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FDF #8CDF7F
analogous
#A27FDF #D27FDF #DF7FBC
triadic
#D27FDF #DFD27F #7FDFD2
tetradic
#D27FDF #DFA27F #8CDF7F #7FBCDF
square
#D27FDF #DFA27F #8CDF7F #7FBCDF
split-complementary
#D27FDF #BCDF7F #7FDFA2
monochromatic
#A42EB6 #C14ED3 #D27FDF #E3B0EB #F4E1F7

Accessibility & contrast

On white

2.68
#D27FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#D27FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FDF
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FDF#FFFFFF#000000##000000
##D27FDF1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7398E2
Deuteranopia (green-blind)
#89A1DC
Tritanopia (blue-blind)
#D48AA5
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d27fdf;
/* rgb */ color: rgb(210, 127, 223);
/* oklch */ color: oklch(71.9% 0.160 322.0);
Tailwind
colors: {
  custom: {
    50: '#e1a6e9',
    500: '#d27fdf',
    950: '#000000',
  },
}
SCSS
$custom: #d27fdf;
$custom-light: #e1a6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d27fdf",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 223
  },
  "hsl": {
    "h": 291.875,
    "s": 60,
    "l": 68.627
  },
  "oklch": {
    "l": 0.7186,
    "c": 0.16028,
    "h": 322
  },
  "luminance": 0.34208
}

Semantic roles & 50–950 ramp

primary
#D27FDF
secondary
#D2EBCF
accent
#C81E35
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D27FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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