#D27FDB#D27FDB

#D27FDB is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.7% C 0.156 H 323.5°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#D27FDB
RGBrgb(210, 127, 219)
HSLhsl(294, 56%, 68%)
HSVhsv(294, 42%, 86%)
CMYKcmyk(4.1%, 42%, 0%, 14.1%)
CIE-LABlab(64.96, 46.29, -33.92)
CIE-LCHlch(64.96, 57.39, 323.77°)
OKLaboklab(71.68% 0.1256 -0.093)
OKLCHoklch(71.68% 0.156 323.5)
XYZxyz(46.9526, 33.9968, 71.0929)
Luminance0.3399 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FDB #88DB7F
analogous
#A47FDB #D27FDB #DB7FB6
triadic
#D27FDB #DBD27F #7FDBD2
tetradic
#D27FDB #DBA47F #88DB7F #7FB6DB
square
#D27FDB #DBA47F #88DB7F #7FB6DB
split-complementary
#D27FDB #B6DB7F #7FDBA4
monochromatic
#A231AF #C14FCE #D27FDB #E3AFE8 #F4DFF6

Accessibility & contrast

On white

2.69
#D27FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#D27FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FDB
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FDB#FFFFFF#000000##000000
##D27FDB1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7597DE
Deuteranopia (green-blind)
#8BA1D8
Tritanopia (blue-blind)
#D589A3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d27fdb;
/* rgb */ color: rgb(210, 127, 219);
/* oklch */ color: oklch(71.7% 0.156 323.5);
Tailwind
colors: {
  custom: {
    50: '#e1a6e6',
    500: '#d27fdb',
    950: '#000000',
  },
}
SCSS
$custom: #d27fdb;
$custom-light: #e1a6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d27fdb",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 219
  },
  "hsl": {
    "h": 294.13,
    "s": 56.098,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71678,
    "c": 0.15627,
    "h": 323.5
  },
  "luminance": 0.33995
}

Semantic roles & 50–950 ramp

primary
#D27FDB
secondary
#CFE9CD
accent
#C42232
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D27FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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