#D27FDD#D27FDD

#D27FDD is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.8% C 0.158 H 322.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#D27FDD
RGBrgb(210, 127, 221)
HSLhsl(293, 58%, 68%)
HSVhsv(293, 43%, 87%)
CMYKcmyk(5%, 42.5%, 0%, 13.3%)
CIE-LABlab(65.04, 46.67, -34.90)
CIE-LCHlch(65.04, 58.28, 323.21°)
OKLaboklab(71.77% 0.1259 -0.0958)
OKLCHoklch(71.77% 0.158 322.7)
XYZxyz(47.2175, 34.1027, 72.4879)
Luminance0.3410 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FDD #8ADD7F
analogous
#A37FDD #D27FDD #DD7FB9
triadic
#D27FDD #DDD27F #7FDDD2
tetradic
#D27FDD #DDA37F #8ADD7F #7FB9DD
square
#D27FDD #DDA37F #8ADD7F #7FB9DD
split-complementary
#D27FDD #B9DD7F #7FDDA3
monochromatic
#A32FB2 #C14FD0 #D27FDD #E3AFEA #F4E0F7

Accessibility & contrast

On white

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

On black

7.82
#D27FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FDD
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FDD#FFFFFF#000000##000000
##D27FDD1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7498E0
Deuteranopia (green-blind)
#8AA1DA
Tritanopia (blue-blind)
#D58AA4
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #d27fdd;
/* rgb */ color: rgb(210, 127, 221);
/* oklch */ color: oklch(71.8% 0.158 322.7);
Tailwind
colors: {
  custom: {
    50: '#e1a6e8',
    500: '#d27fdd',
    950: '#000000',
  },
}
SCSS
$custom: #d27fdd;
$custom-light: #e1a6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#d27fdd",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 221
  },
  "hsl": {
    "h": 292.979,
    "s": 58.025,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71769,
    "c": 0.15827,
    "h": 322.7
  },
  "luminance": 0.34101
}

Semantic roles & 50–950 ramp

primary
#D27FDD
secondary
#D1EACE
accent
#C62033
background
#FEFAFE
surface
#FCF4FC
border
#D5CED5
text
#150F16
muted
#847F84

Preview Lab

Preview with #D27FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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