#D27DFE#D27DFE

#D27DFE is a light, vivid violet. Relative luminance 0.355; OKLCH L 73.1% C 0.196 H 312.9°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#D27DFE
RGBrgb(210, 125, 254)
HSLhsl(280, 98%, 74%)
HSVhsv(280, 51%, 100%)
CMYKcmyk(17.3%, 50.8%, 0%, 0.4%)
CIE-LABlab(66.16, 54.29, -51.37)
CIE-LCHlch(66.16, 74.74, 316.58°)
OKLaboklab(73.09% 0.1334 -0.1434)
OKLCHoklch(73.09% 0.196 312.9)
XYZxyz(51.7983, 35.5259, 97.8752)
Luminance0.3553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27DFE #A9FE7D
analogous
#927DFE #D27DFE #FE7DE9
triadic
#D27DFE #FED27D #7DFED2
tetradic
#D27DFE #FE927D #A9FE7D #7DE9FE
square
#D27DFE #FE927D #A9FE7D #7DE9FE
split-complementary
#D27DFE #E9FE7D #7DFE92
monochromatic
#A804FD #BD40FE #D27DFE #E7BAFE #F4E1FF

Accessibility & contrast

On white

2.59
#D27DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#D27DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27DFE
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27DFE#FFFFFF#000000##000000
##D27DFE1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#78A3FB
Tritanopia (blue-blind)
#CE92B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d27dfe;
/* rgb */ color: rgb(210, 125, 254);
/* oklch */ color: oklch(73.1% 0.196 312.9);
Tailwind
colors: {
  custom: {
    50: '#e2a5ff',
    500: '#d27dfe',
    950: '#000000',
  },
}
SCSS
$custom: #d27dfe;
$custom-light: #e2a5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d27dfe",
  "rgb": {
    "r": 210,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 279.535,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73089,
    "c": 0.19582,
    "h": 312.9
  },
  "luminance": 0.35525
}

Semantic roles & 50–950 ramp

primary
#D27DFE
secondary
#E0F7D4
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D27DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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