#D17FFB#D17FFB

#D17FFB is a light, vivid violet. Relative luminance 0.357; OKLCH L 73.1% C 0.189 H 313.1°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#D17FFB
RGBrgb(209, 127, 251)
HSLhsl(280, 94%, 74%)
HSVhsv(280, 49%, 98%)
CMYKcmyk(16.7%, 49.4%, 0%, 1.6%)
CIE-LABlab(66.29, 52.38, -49.52)
CIE-LCHlch(66.29, 72.08, 316.61°)
OKLaboklab(73.12% 0.1293 -0.138)
OKLCHoklch(73.12% 0.189 313.1)
XYZxyz(51.2935, 35.7003, 95.4369)
Luminance0.3570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17FFB #A9FB7F
analogous
#937FFB #D17FFB #FB7FE7
triadic
#D17FFB #FBD17F #7FFBD1
tetradic
#D17FFB #FB937F #A9FB7F #7FE7FB
square
#D17FFB #FB937F #A9FB7F #7FE7FB
split-complementary
#D17FFB #E7FB7F #7FFB93
monochromatic
#A608F7 #BC44F9 #D17FFB #E6BAFD #F4E1FE

Accessibility & contrast

On white

2.58
#D17FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#D17FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17FFB
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17FFB#FFFFFF#000000##000000
##D17FFB1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#629DFF
Deuteranopia (green-blind)
#7BA3F8
Tritanopia (blue-blind)
#CD93B2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d17ffb;
/* rgb */ color: rgb(209, 127, 251);
/* oklch */ color: oklch(73.1% 0.189 313.1);
Tailwind
colors: {
  custom: {
    50: '#e1a6fd',
    500: '#d17ffb',
    950: '#000000',
  },
}
SCSS
$custom: #d17ffb;
$custom-light: #e1a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d17ffb",
  "rgb": {
    "r": 209,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 279.677,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73116,
    "c": 0.18912,
    "h": 313.1
  },
  "luminance": 0.35699
}

Semantic roles & 50–950 ramp

primary
#D17FFB
secondary
#E0F6D5
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D17FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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