#D27EF2#D27EF2

#D27EF2 is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.6% C 0.182 H 316.0°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#D27EF2
RGBrgb(210, 126, 242)
HSLhsl(283, 82%, 72%)
HSVhsv(283, 48%, 95%)
CMYKcmyk(13.2%, 47.9%, 0%, 5.1%)
CIE-LABlab(65.78, 51.31, -45.38)
CIE-LCHlch(65.78, 68.50, 318.51°)
OKLaboklab(72.62% 0.1307 -0.126)
OKLCHoklch(72.62% 0.182 316)
XYZxyz(50.0638, 35.0356, 88.1125)
Luminance0.3503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27EF2 #9EF27E
analogous
#987EF2 #D27EF2 #F27ED8
triadic
#D27EF2 #F2D27E #7EF2D2
tetradic
#D27EF2 #F2987E #9EF27E #7ED8F2
square
#D27EF2 #F2987E #9EF27E #7ED8F2
split-complementary
#D27EF2 #D8F27E #7EF298
monochromatic
#A816DF #BF46EC #D27EF2 #E5B6F8 #F5E3FC

Accessibility & contrast

On white

2.62
#D27EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#D27EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27EF2
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27EF2#FFFFFF#000000##000000
##D27EF21.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#679BF6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#D18FAD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d27ef2;
/* rgb */ color: rgb(210, 126, 242);
/* oklch */ color: oklch(72.6% 0.182 316.0);
Tailwind
colors: {
  custom: {
    50: '#e2a6f7',
    500: '#d27ef2',
    950: '#000000',
  },
}
SCSS
$custom: #d27ef2;
$custom-light: #e2a6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ef2",
  "rgb": {
    "r": 210,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 283.448,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.7262,
    "c": 0.18154,
    "h": 316
  },
  "luminance": 0.35034
}

Semantic roles & 50–950 ramp

primary
#D27EF2
secondary
#DFF4D7
accent
#DE0743
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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