#D66AFB#D66AFB

#D66AFB is a light, highly saturated purple. Relative luminance 0.316; OKLCH L 70.8% C 0.223 H 316.6°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#D66AFB
RGBrgb(214, 106, 251)
HSLhsl(285, 95%, 70%)
HSVhsv(285, 58%, 98%)
CMYKcmyk(14.7%, 57.8%, 0%, 1.6%)
CIE-LABlab(62.99, 63.96, -54.72)
CIE-LCHlch(62.99, 84.17, 319.45°)
OKLaboklab(70.82% 0.1619 -0.1529)
OKLCHoklch(70.82% 0.223 316.6)
XYZxyz(50.2956, 31.5710, 94.6925)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D66AFB #8FFB6A
analogous
#8E6AFB #D66AFB #FB6AD7
triadic
#D66AFB #FBD66A #6AFBD6
tetradic
#D66AFB #FB8E6A #8FFB6A #6AD7FB
square
#D66AFB #FB8E6A #8FFB6A #6AD7FB
split-complementary
#D66AFB #D7FB6A #6AFB8E
monochromatic
#AC06E4 #C62EF9 #D66AFB #E6A6FD #F7E1FE

Accessibility & contrast

On white

2.87
#D66AFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#D66AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D66AFB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D66AFB#FFFFFF#000000##000000
##D66AFB1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4392FF
Deuteranopia (green-blind)
#6C9CF7
Tritanopia (blue-blind)
#D482A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d66afb;
/* rgb */ color: rgb(214, 106, 251);
/* oklch */ color: oklch(70.8% 0.223 316.6);
Tailwind
colors: {
  custom: {
    50: '#e69afd',
    500: '#d66afb',
    950: '#000000',
  },
}
SCSS
$custom: #d66afb;
$custom-light: #e69afd;
$custom-dark: #000000;
JSON
{
  "hex": "#d66afb",
  "rgb": {
    "r": 214,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 284.69,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.70815,
    "c": 0.22273,
    "h": 316.6
  },
  "luminance": 0.31569
}

Semantic roles & 50–950 ramp

primary
#D66AFB
secondary
#D6F5CC
accent
#E6003B
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D66AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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