#D27EFB#D27EFB

#D27EFB is a light, vivid purple. Relative luminance 0.356; OKLCH L 73.1% C 0.191 H 313.6°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#D27EFB
RGBrgb(210, 126, 251)
HSLhsl(280, 94%, 74%)
HSVhsv(280, 50%, 98%)
CMYKcmyk(16.3%, 49.8%, 0%, 1.6%)
CIE-LABlab(66.21, 53.16, -49.65)
CIE-LCHlch(66.21, 72.74, 316.95°)
OKLaboklab(73.08% 0.1318 -0.1384)
OKLCHoklch(73.08% 0.191 313.6)
XYZxyz(51.4489, 35.5897, 95.4073)
Luminance0.3559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27EFB #A7FB7E
analogous
#947EFB #D27EFB #FB7EE6
triadic
#D27EFB #FBD27E #7EFBD2
tetradic
#D27EFB #FB947E #A7FB7E #7EE6FB
square
#D27EFB #FB947E #A7FB7E #7EE6FB
split-complementary
#D27EFB #E6FB7E #7EFB94
monochromatic
#A808F7 #BD43F9 #D27EFB #E7B9FD #F5E1FE

Accessibility & contrast

On white

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

On black

8.12
#D27EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27EFB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27EFB#FFFFFF#000000##000000
##D27EFB1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#7BA3F8
Tritanopia (blue-blind)
#CF92B1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d27efb;
/* rgb */ color: rgb(210, 126, 251);
/* oklch */ color: oklch(73.1% 0.191 313.6);
Tailwind
colors: {
  custom: {
    50: '#e2a6fd',
    500: '#d27efb',
    950: '#000000',
  },
}
SCSS
$custom: #d27efb;
$custom-light: #e2a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d27efb",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 280.32,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73078,
    "c": 0.19108,
    "h": 313.6
  },
  "luminance": 0.35588
}

Semantic roles & 50–950 ramp

primary
#D27EFB
secondary
#E0F6D5
accent
#E6004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D27EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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