#D27FDA#D27FDA

#D27FDA is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.6% C 0.155 H 323.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#D27FDA
RGBrgb(210, 127, 218)
HSLhsl(295, 55%, 68%)
HSVhsv(295, 42%, 85%)
CMYKcmyk(3.7%, 41.7%, 0%, 14.5%)
CIE-LABlab(64.92, 46.10, -33.43)
CIE-LCHlch(64.92, 56.94, 324.05°)
OKLaboklab(71.63% 0.1254 -0.0916)
OKLCHoklch(71.63% 0.155 323.8)
XYZxyz(46.8213, 33.9443, 70.4017)
Luminance0.3394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FDA #87DA7F
analogous
#A47FDA #D27FDA #DA7FB5
triadic
#D27FDA #DAD27F #7FDAD2
tetradic
#D27FDA #DAA47F #87DA7F #7FB5DA
square
#D27FDA #DAA47F #87DA7F #7FB5DA
split-complementary
#D27FDA #B5DA7F #7FDAA4
monochromatic
#A232AD #C150CC #D27FDA #E3AEE8 #F3DEF5

Accessibility & contrast

On white

2.70
#D27FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#D27FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FDA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FDA#FFFFFF#000000##000000
##D27FDA1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7597DD
Deuteranopia (green-blind)
#8BA1D7
Tritanopia (blue-blind)
#D589A2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #d27fda;
/* rgb */ color: rgb(210, 127, 218);
/* oklch */ color: oklch(71.6% 0.155 323.8);
Tailwind
colors: {
  custom: {
    50: '#e1a6e5',
    500: '#d27fda',
    950: '#000000',
  },
}
SCSS
$custom: #d27fda;
$custom-light: #e1a6e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d27fda",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 218
  },
  "hsl": {
    "h": 294.725,
    "s": 55.152,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71633,
    "c": 0.15527,
    "h": 323.8
  },
  "luminance": 0.33942
}

Semantic roles & 50–950 ramp

primary
#D27FDA
secondary
#CFE9CC
accent
#C32331
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D27FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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