#D27EFE#D27EFE

#D27EFE is a light, vivid violet. Relative luminance 0.358; OKLCH L 73.2% C 0.194 H 312.8°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#D27EFE
RGBrgb(210, 126, 254)
HSLhsl(279, 98%, 75%)
HSVhsv(279, 50%, 100%)
CMYKcmyk(17.3%, 50.4%, 0%, 0.4%)
CIE-LABlab(66.35, 53.78, -51.06)
CIE-LCHlch(66.35, 74.16, 316.48°)
OKLaboklab(73.23% 0.1321 -0.1425)
OKLCHoklch(73.23% 0.194 312.8)
XYZxyz(51.9255, 35.7803, 97.9177)
Luminance0.3578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27EFE #AAFE7E
analogous
#927EFE #D27EFE #FE7EEA
triadic
#D27EFE #FED27E #7EFED2
tetradic
#D27EFE #FE927E #AAFE7E #7EEAFE
square
#D27EFE #FE927E #AAFE7E #7EEAFE
split-complementary
#D27EFE #EAFE7E #7EFE92
monochromatic
#A805FD #BD41FE #D27EFE #E7BBFE #F4E1FF

Accessibility & contrast

On white

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

On black

8.16
#D27EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27EFE
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27EFE#FFFFFF#000000##000000
##D27EFE1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#79A3FB
Tritanopia (blue-blind)
#CE93B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d27efe;
/* rgb */ color: rgb(210, 126, 254);
/* oklch */ color: oklch(73.2% 0.194 312.8);
Tailwind
colors: {
  custom: {
    50: '#e2a6ff',
    500: '#d27efe',
    950: '#000000',
  },
}
SCSS
$custom: #d27efe;
$custom-light: #e2a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d27efe",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 279.375,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.73234,
    "c": 0.19428,
    "h": 312.8
  },
  "luminance": 0.35779
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D27EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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