#D27AFA#D27AFA

#D27AFA is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.4% C 0.196 H 314.3°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#D27AFA
RGBrgb(210, 122, 250)
HSLhsl(281, 93%, 73%)
HSVhsv(281, 51%, 98%)
CMYKcmyk(16%, 51.2%, 0%, 2%)
CIE-LABlab(65.38, 54.98, -50.41)
CIE-LCHlch(65.38, 74.59, 317.48°)
OKLaboklab(72.45% 0.1369 -0.1406)
OKLCHoklch(72.45% 0.196 314.3)
XYZxyz(50.7904, 34.5242, 94.4123)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D27AFA #A2FA7A
analogous
#927AFA #D27AFA #FA7AE2
triadic
#D27AFA #FAD27A #7AFAD2
tetradic
#D27AFA #FA927A #A2FA7A #7AE2FA
square
#D27AFA #FA927A #A2FA7A #7AE2FA
split-complementary
#D27AFA #E2FA7A #7AFA92
monochromatic
#A809F1 #BE3FF8 #D27AFA #E6B5FC #F5E2FE

Accessibility & contrast

On white

2.66
#D27AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#D27AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D27AFA
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D27AFA#FFFFFF#000000##000000
##D27AFA1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9AFE
Deuteranopia (green-blind)
#78A1F7
Tritanopia (blue-blind)
#CF8EAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d27afa;
/* rgb */ color: rgb(210, 122, 250);
/* oklch */ color: oklch(72.4% 0.196 314.3);
Tailwind
colors: {
  custom: {
    50: '#e2a3fc',
    500: '#d27afa',
    950: '#000000',
  },
}
SCSS
$custom: #d27afa;
$custom-light: #e2a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d27afa",
  "rgb": {
    "r": 210,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 281.25,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72449,
    "c": 0.19625,
    "h": 314.3
  },
  "luminance": 0.34523
}

Semantic roles & 50–950 ramp

primary
#D27AFA
secondary
#DFF6D5
accent
#E60048
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D27AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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