#D57AFA#D57AFA

#D57AFA is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.8% C 0.197 H 315.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#D57AFA
RGBrgb(213, 122, 250)
HSLhsl(283, 93%, 73%)
HSVhsv(283, 51%, 98%)
CMYKcmyk(14.8%, 51.2%, 0%, 2%)
CIE-LABlab(65.72, 55.77, -49.84)
CIE-LCHlch(65.72, 74.79, 318.21°)
OKLaboklab(72.78% 0.1405 -0.1388)
OKLCHoklch(72.78% 0.197 315.3)
XYZxyz(51.6527, 34.9689, 94.4527)
Luminance0.3497 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D57AFA #9FFA7A
analogous
#957AFA #D57AFA #FA7ADF
triadic
#D57AFA #FAD57A #7AFAD5
tetradic
#D57AFA #FA957A #9FFA7A #7ADFFA
square
#D57AFA #FA957A #9FFA7A #7ADFFA
split-complementary
#D57AFA #DFFA7A #7AFA95
monochromatic
#AE09F1 #C23FF8 #D57AFA #E8B5FC #F6E2FE

Accessibility & contrast

On white

2.63
#D57AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#D57AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D57AFA
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D57AFA#FFFFFF#000000##000000
##D57AFA1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9AFE
Deuteranopia (green-blind)
#7AA2F7
Tritanopia (blue-blind)
#D38EAF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #d57afa;
/* rgb */ color: rgb(213, 122, 250);
/* oklch */ color: oklch(72.8% 0.197 315.3);
Tailwind
colors: {
  custom: {
    50: '#e4a3fc',
    500: '#d57afa',
    950: '#000000',
  },
}
SCSS
$custom: #d57afa;
$custom-light: #e4a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d57afa",
  "rgb": {
    "r": 213,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 282.656,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72782,
    "c": 0.19748,
    "h": 315.3
  },
  "luminance": 0.34967
}

Semantic roles & 50–950 ramp

primary
#D57AFA
secondary
#DFF6D5
accent
#E60042
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D57AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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