#D27FFA#D27FFA

#D27FFA is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.2% C 0.188 H 313.8°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#D27FFA
RGBrgb(210, 127, 250)
HSLhsl(280, 92%, 74%)
HSVhsv(280, 49%, 98%)
CMYKcmyk(16%, 49.2%, 0%, 2%)
CIE-LABlab(66.35, 52.44, -48.87)
CIE-LCHlch(66.35, 71.68, 317.02°)
OKLaboklab(73.17% 0.1303 -0.1361)
OKLCHoklch(73.17% 0.188 313.8)
XYZxyz(51.4202, 35.7838, 94.6222)
Luminance0.3578 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27FFA #A7FA7F
analogous
#957FFA #D27FFA #FA7FE4
triadic
#D27FFA #FAD27F #7FFAD2
tetradic
#D27FFA #FA957F #A7FA7F #7FE4FA
square
#D27FFA #FA957F #A7FA7F #7FE4FA
split-complementary
#D27FFA #E4FA7F #7FFA95
monochromatic
#A80AF5 #BD44F8 #D27FFA #E7BAFC #F5E2FE

Accessibility & contrast

On white

2.57
#D27FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#D27FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27FFA
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27FFA#FFFFFF#000000##000000
##D27FFA1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFE
Deuteranopia (green-blind)
#7CA3F7
Tritanopia (blue-blind)
#CF92B1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d27ffa;
/* rgb */ color: rgb(210, 127, 250);
/* oklch */ color: oklch(73.2% 0.188 313.8);
Tailwind
colors: {
  custom: {
    50: '#e2a6fc',
    500: '#d27ffa',
    950: '#000000',
  },
}
SCSS
$custom: #d27ffa;
$custom-light: #e2a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d27ffa",
  "rgb": {
    "r": 210,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 280.488,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73173,
    "c": 0.18844,
    "h": 313.8
  },
  "luminance": 0.35783
}

Semantic roles & 50–950 ramp

primary
#D27FFA
secondary
#E0F6D5
accent
#E6004B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D27FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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