#D17EFB#D17EFB

#D17EFB is a light, vivid violet. Relative luminance 0.354; OKLCH L 73.0% C 0.191 H 313.2°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#D17EFB
RGBrgb(209, 126, 251)
HSLhsl(280, 94%, 74%)
HSVhsv(280, 50%, 98%)
CMYKcmyk(16.7%, 49.8%, 0%, 1.6%)
CIE-LABlab(66.09, 52.89, -49.84)
CIE-LCHlch(66.09, 72.67, 316.70°)
OKLaboklab(72.97% 0.1306 -0.1389)
OKLCHoklch(72.97% 0.191 313.2)
XYZxyz(51.1650, 35.4433, 95.3940)
Luminance0.3544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17EFB #A8FB7E
analogous
#937EFB #D17EFB #FB7EE7
triadic
#D17EFB #FBD17E #7EFBD1
tetradic
#D17EFB #FB937E #A8FB7E #7EE7FB
square
#D17EFB #FB937E #A8FB7E #7EE7FB
split-complementary
#D17EFB #E7FB7E #7EFB93
monochromatic
#A708F7 #BC43F9 #D17EFB #E6B9FD #F4E1FE

Accessibility & contrast

On white

2.60
#D17EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#D17EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17EFB
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17EFB#FFFFFF#000000##000000
##D17EFB1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#CD92B1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d17efb;
/* rgb */ color: rgb(209, 126, 251);
/* oklch */ color: oklch(73.0% 0.191 313.2);
Tailwind
colors: {
  custom: {
    50: '#e1a6fd',
    500: '#d17efb',
    950: '#000000',
  },
}
SCSS
$custom: #d17efb;
$custom-light: #e1a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d17efb",
  "rgb": {
    "r": 209,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 279.84,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72969,
    "c": 0.19068,
    "h": 313.2
  },
  "luminance": 0.35442
}

Semantic roles & 50–950 ramp

primary
#D17EFB
secondary
#E0F6D5
accent
#E6004D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D17EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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