#D66AFA#D66AFA

#D66AFA is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.8% C 0.222 H 316.9°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#D66AFA
RGBrgb(214, 106, 250)
HSLhsl(285, 94%, 70%)
HSVhsv(285, 58%, 98%)
CMYKcmyk(14.4%, 57.6%, 0%, 2%)
CIE-LABlab(62.93, 63.77, -54.25)
CIE-LCHlch(62.93, 83.72, 319.61°)
OKLaboklab(70.76% 0.1619 -0.1516)
OKLCHoklch(70.76% 0.222 316.9)
XYZxyz(50.1384, 31.5082, 93.8645)
Luminance0.3151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D66AFA #8EFA6A
analogous
#8E6AFA #D66AFA #FA6AD6
triadic
#D66AFA #FAD66A #6AFAD6
tetradic
#D66AFA #FA8E6A #8EFA6A #6AD6FA
square
#D66AFA #FA8E6A #8EFA6A #6AD6FA
split-complementary
#D66AFA #D6FA6A #6AFA8E
monochromatic
#AB08E2 #C62FF8 #D66AFA #E6A5FC #F7E0FE

Accessibility & contrast

On white

2.88
#D66AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#D66AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D66AFA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D66AFA#FFFFFF#000000##000000
##D66AFA1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4491FF
Deuteranopia (green-blind)
#6D9CF6
Tritanopia (blue-blind)
#D582A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d66afa;
/* rgb */ color: rgb(214, 106, 250);
/* oklch */ color: oklch(70.8% 0.222 316.9);
Tailwind
colors: {
  custom: {
    50: '#e69afc',
    500: '#d66afa',
    950: '#000000',
  },
}
SCSS
$custom: #d66afa;
$custom-light: #e69afc;
$custom-dark: #000000;
JSON
{
  "hex": "#d66afa",
  "rgb": {
    "r": 214,
    "g": 106,
    "b": 250
  },
  "hsl": {
    "h": 285,
    "s": 93.506,
    "l": 69.804
  },
  "oklch": {
    "l": 0.7076,
    "c": 0.22177,
    "h": 316.9
  },
  "luminance": 0.31506
}

Semantic roles & 50–950 ramp

primary
#D66AFA
secondary
#D6F4CC
accent
#E60039
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D66AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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