#D27FFE#D27FFE

#D27FFE is a light, vivid violet. Relative luminance 0.360; OKLCH L 73.4% C 0.193 H 312.7°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#D27FFE
RGBrgb(210, 127, 254)
HSLhsl(279, 98%, 75%)
HSVhsv(279, 50%, 100%)
CMYKcmyk(17.3%, 50%, 0%, 0.4%)
CIE-LABlab(66.55, 53.27, -50.75)
CIE-LCHlch(66.55, 73.57, 316.39°)
OKLaboklab(73.38% 0.1308 -0.1416)
OKLCHoklch(73.38% 0.193 312.7)
XYZxyz(52.0540, 36.0373, 97.9605)
Luminance0.3604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FFE #ABFE7F
analogous
#937FFE #D27FFE #FE7FEA
triadic
#D27FFE #FED27F #7FFED2
tetradic
#D27FFE #FE937F #ABFE7F #7FEAFE
square
#D27FFE #FE937F #ABFE7F #7FEAFE
split-complementary
#D27FFE #EAFE7F #7FFE93
monochromatic
#A706FD #BD42FE #D27FFE #E7BCFE #F4E1FF

Accessibility & contrast

On white

2.56
#D27FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#D27FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FFE
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FFE#FFFFFF#000000##000000
##D27FFE1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619DFF
Deuteranopia (green-blind)
#7AA4FB
Tritanopia (blue-blind)
#CE93B3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d27ffe;
/* rgb */ color: rgb(210, 127, 254);
/* oklch */ color: oklch(73.4% 0.193 312.7);
Tailwind
colors: {
  custom: {
    50: '#e2a6ff',
    500: '#d27ffe',
    950: '#000000',
  },
}
SCSS
$custom: #d27ffe;
$custom-light: #e2a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ffe",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 279.213,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.7338,
    "c": 0.19273,
    "h": 312.7
  },
  "luminance": 0.36036
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D27FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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