#D27FFB#D27FFB

#D27FFB is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.2% C 0.190 H 313.5°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#D27FFB
RGBrgb(210, 127, 251)
HSLhsl(280, 94%, 74%)
HSVhsv(280, 49%, 98%)
CMYKcmyk(16.3%, 49.4%, 0%, 1.6%)
CIE-LABlab(66.40, 52.64, -49.34)
CIE-LCHlch(66.40, 72.15, 316.86°)
OKLaboklab(73.22% 0.1304 -0.1375)
OKLCHoklch(73.22% 0.19 313.5)
XYZxyz(51.5774, 35.8467, 95.4502)
Luminance0.3584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FFB #A8FB7F
analogous
#947FFB #D27FFB #FB7FE6
triadic
#D27FFB #FBD27F #7FFBD2
tetradic
#D27FFB #FB947F #A8FB7F #7FE6FB
square
#D27FFB #FB947F #A8FB7F #7FE6FB
split-complementary
#D27FFB #E6FB7F #7FFB94
monochromatic
#A808F7 #BD44F9 #D27FFB #E7BAFD #F5E1FE

Accessibility & contrast

On white

2.57
#D27FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#D27FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FFB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FFB#FFFFFF#000000##000000
##D27FFB1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFF
Deuteranopia (green-blind)
#7BA4F8
Tritanopia (blue-blind)
#CE92B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d27ffb;
/* rgb */ color: rgb(210, 127, 251);
/* oklch */ color: oklch(73.2% 0.190 313.5);
Tailwind
colors: {
  custom: {
    50: '#e2a6fd',
    500: '#d27ffb',
    950: '#000000',
  },
}
SCSS
$custom: #d27ffb;
$custom-light: #e2a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ffb",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 280.161,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73224,
    "c": 0.18951,
    "h": 313.5
  },
  "luminance": 0.35845
}

Semantic roles & 50–950 ramp

primary
#D27FFB
secondary
#E0F6D5
accent
#E6004C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D27FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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