#D27EFD#D27EFD

#D27EFD is a light, vivid violet. Relative luminance 0.357; OKLCH L 73.2% C 0.193 H 313.1°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#D27EFD
RGBrgb(210, 126, 253)
HSLhsl(280, 97%, 74%)
HSVhsv(280, 50%, 99%)
CMYKcmyk(17%, 50.2%, 0%, 0.8%)
CIE-LABlab(66.30, 53.57, -50.59)
CIE-LCHlch(66.30, 73.68, 316.64°)
OKLaboklab(73.18% 0.132 -0.1411)
OKLCHoklch(73.18% 0.193 313.1)
XYZxyz(51.7658, 35.7164, 97.0765)
Luminance0.3572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27EFD #A9FD7E
analogous
#937EFD #D27EFD #FD7EE9
triadic
#D27EFD #FDD27E #7EFDD2
tetradic
#D27EFD #FD937E #A9FD7E #7EE9FD
square
#D27EFD #FD937E #A9FD7E #7EE9FD
split-complementary
#D27EFD #E9FD7E #7EFD93
monochromatic
#A805FB #BD42FC #D27EFD #E7BAFE #F4E1FF

Accessibility & contrast

On white

2.58
#D27EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#D27EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27EFD
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27EFD#FFFFFF#000000##000000
##D27EFD1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#79A3FA
Tritanopia (blue-blind)
#CE92B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d27efd;
/* rgb */ color: rgb(210, 126, 253);
/* oklch */ color: oklch(73.2% 0.193 313.1);
Tailwind
colors: {
  custom: {
    50: '#e2a6fe',
    500: '#d27efd',
    950: '#000000',
  },
}
SCSS
$custom: #d27efd;
$custom-light: #e2a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d27efd",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 279.685,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73182,
    "c": 0.1932,
    "h": 313.1
  },
  "luminance": 0.35715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D27EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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