#D27AFF#D27AFF

#D27AFF is a light, highly saturated violet. Relative luminance 0.348; OKLCH L 72.7% C 0.201 H 313.0°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#D27AFF
RGBrgb(210, 122, 255)
HSLhsl(280, 100%, 74%)
HSVhsv(280, 52%, 100%)
CMYKcmyk(17.6%, 52.2%, 0%, 0%)
CIE-LABlab(65.63, 56.01, -52.76)
CIE-LCHlch(65.63, 76.95, 316.71°)
OKLaboklab(72.71% 0.1374 -0.1474)
OKLCHoklch(72.71% 0.201 313)
XYZxyz(51.5848, 34.8420, 98.5961)
Luminance0.3484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27AFF #A7FF7A
analogous
#907AFF #D27AFF #FF7AEA
triadic
#D27AFF #FFD27A #7AFFD2
tetradic
#D27AFF #FF907A #A7FF7A #7AEAFF
square
#D27AFF #FF907A #A7FF7A #7AEAFF
split-complementary
#D27AFF #EAFF7A #7AFF90
monochromatic
#A800FF #BD3DFF #D27AFF #E7B7FF #F5E0FF

Accessibility & contrast

On white

2.64
#D27AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#D27AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27AFF
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27AFF#FFFFFF#000000##000000
##D27AFF1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#589BFF
Deuteranopia (green-blind)
#74A1FC
Tritanopia (blue-blind)
#CE90B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d27aff;
/* rgb */ color: rgb(210, 122, 255);
/* oklch */ color: oklch(72.7% 0.201 313.0);
Tailwind
colors: {
  custom: {
    50: '#e2a3ff',
    500: '#d27aff',
    950: '#000000',
  },
}
SCSS
$custom: #d27aff;
$custom-light: #e2a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d27aff",
  "rgb": {
    "r": 210,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 279.699,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72714,
    "c": 0.20149,
    "h": 313
  },
  "luminance": 0.34841
}

Semantic roles & 50–950 ramp

primary
#D27AFF
secondary
#E0F7D4
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D27AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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