#D17CF8#D17CF8

#D17CF8 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.5% C 0.191 H 314.2°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#D17CF8
RGBrgb(209, 124, 248)
HSLhsl(281, 90%, 73%)
HSVhsv(281, 50%, 97%)
CMYKcmyk(15.7%, 50%, 0%, 2.7%)
CIE-LABlab(65.55, 53.29, -49.04)
CIE-LCHlch(65.55, 72.42, 317.38°)
OKLaboklab(72.52% 0.1329 -0.1366)
OKLCHoklch(72.52% 0.191 314.2)
XYZxyz(50.4427, 34.7493, 92.8388)
Luminance0.3475 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D17CF8 #A3F87C
analogous
#937CF8 #D17CF8 #F87CE1
triadic
#D17CF8 #F8D17C #7CF8D1
tetradic
#D17CF8 #F8937C #A3F87C #7CE1F8
square
#D17CF8 #F8937C #A3F87C #7CE1F8
split-complementary
#D17CF8 #E1F87C #7CF893
monochromatic
#A60DED #BD42F5 #D17CF8 #E5B6FB #F5E2FD

Accessibility & contrast

On white

2.64
#D17CF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#D17CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D17CF8
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D17CF8#FFFFFF#000000##000000
##D17CF81.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFC
Deuteranopia (green-blind)
#7AA1F5
Tritanopia (blue-blind)
#CE8FAF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #d17cf8;
/* rgb */ color: rgb(209, 124, 248);
/* oklch */ color: oklch(72.5% 0.191 314.2);
Tailwind
colors: {
  custom: {
    50: '#e1a4fb',
    500: '#d17cf8',
    950: '#000000',
  },
}
SCSS
$custom: #d17cf8;
$custom-light: #e1a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d17cf8",
  "rgb": {
    "r": 209,
    "g": 124,
    "b": 248
  },
  "hsl": {
    "h": 281.129,
    "s": 89.855,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72523,
    "c": 0.19062,
    "h": 314.2
  },
  "luminance": 0.34748
}

Semantic roles & 50–950 ramp

primary
#D17CF8
secondary
#E0F6D5
accent
#E60048
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D17CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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