#D27EFF#D27EFF

#D27EFF is a light, vivid violet. Relative luminance 0.358; OKLCH L 73.3% C 0.195 H 312.6°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#D27EFF
RGBrgb(210, 126, 255)
HSLhsl(279, 100%, 75%)
HSVhsv(279, 51%, 100%)
CMYKcmyk(17.6%, 50.6%, 0%, 0%)
CIE-LABlab(66.40, 53.99, -51.53)
CIE-LCHlch(66.40, 74.63, 316.33°)
OKLaboklab(73.29% 0.1322 -0.1438)
OKLCHoklch(73.29% 0.195 312.6)
XYZxyz(52.0861, 35.8445, 98.7632)
Luminance0.3584 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27EFF #ABFF7E
analogous
#927EFF #D27EFF #FF7EEB
triadic
#D27EFF #FFD27E #7EFFD2
tetradic
#D27EFF #FF927E #ABFF7E #7EEBFF
square
#D27EFF #FF927E #ABFF7E #7EEBFF
split-complementary
#D27EFF #EBFF7E #7EFF92
monochromatic
#A704FF #BD41FF #D27EFF #E7BBFF #F4E0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D27EFF#FFFFFF#000000##000000
##D27EFF1.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)
#5E9DFF
Deuteranopia (green-blind)
#78A3FC
Tritanopia (blue-blind)
#CE93B3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d27eff;
/* rgb */ color: rgb(210, 126, 255);
/* oklch */ color: oklch(73.3% 0.195 312.6);
Tailwind
colors: {
  custom: {
    50: '#e2a6ff',
    500: '#d27eff',
    950: '#000000',
  },
}
SCSS
$custom: #d27eff;
$custom-light: #e2a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d27eff",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 255
  },
  "hsl": {
    "h": 279.07,
    "s": 100,
    "l": 74.706
  },
  "oklch": {
    "l": 0.73286,
    "c": 0.19534,
    "h": 312.6
  },
  "luminance": 0.35843
}

Semantic roles & 50–950 ramp

primary
#D27EFF
secondary
#E0F7D4
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D27EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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