#D27EF6#D27EF6

#D27EF6 is a light, vivid purple. Relative luminance 0.353; OKLCH L 72.8% C 0.186 H 314.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#D27EF6
RGBrgb(210, 126, 246)
HSLhsl(282, 87%, 73%)
HSVhsv(282, 49%, 96%)
CMYKcmyk(14.6%, 48.8%, 0%, 3.5%)
CIE-LABlab(65.97, 52.13, -47.29)
CIE-LCHlch(65.97, 70.38, 317.79°)
OKLaboklab(72.82% 0.1312 -0.1315)
OKLCHoklch(72.82% 0.186 314.9)
XYZxyz(50.6711, 35.2786, 91.3111)
Luminance0.3528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27EF6 #A2F67E
analogous
#967EF6 #D27EF6 #F67EDE
triadic
#D27EF6 #F6D27E #7EF6D2
tetradic
#D27EF6 #F6967E #A2F67E #7EDEF6
square
#D27EF6 #F6967E #A2F67E #7EDEF6
split-complementary
#D27EF6 #DEF67E #7EF696
monochromatic
#A810E9 #BE45F2 #D27EF6 #E6B7FA #F5E2FD

Accessibility & contrast

On white

2.61
#D27EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#D27EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27EF6
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27EF6#FFFFFF#000000##000000
##D27EF61.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BFA
Deuteranopia (green-blind)
#7DA3F3
Tritanopia (blue-blind)
#D090AF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d27ef6;
/* rgb */ color: rgb(210, 126, 246);
/* oklch */ color: oklch(72.8% 0.186 314.9);
Tailwind
colors: {
  custom: {
    50: '#e2a6f9',
    500: '#d27ef6',
    950: '#000000',
  },
}
SCSS
$custom: #d27ef6;
$custom-light: #e2a6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ef6",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 282,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72822,
    "c": 0.18576,
    "h": 314.9
  },
  "luminance": 0.35277
}

Semantic roles & 50–950 ramp

primary
#D27EF6
secondary
#DFF5D6
accent
#E40246
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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