#D88CF7#D88CF7

#D88CF7 is a light, vivid purple. Relative luminance 0.401; OKLCH L 75.6% C 0.167 H 315.6°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#D88CF7
RGBrgb(216, 140, 247)
HSLhsl(283, 87%, 76%)
HSVhsv(283, 43%, 97%)
CMYKcmyk(12.6%, 43.3%, 0%, 3.1%)
CIE-LABlab(69.52, 46.72, -42.20)
CIE-LCHlch(69.52, 62.96, 317.91°)
OKLaboklab(75.63% 0.1192 -0.1168)
OKLCHoklch(75.63% 0.167 315.6)
XYZxyz(54.4829, 40.0719, 92.8423)
Luminance0.4007 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D88CF7 #ABF78C
analogous
#A28CF7 #D88CF7 #F78CE0
triadic
#D88CF7 #F7D88C #8CF7D8
tetradic
#D88CF7 #F7A28C #ABF78C #8CE0F7
square
#D88CF7 #F7A28C #ABF78C #8CE0F7
split-complementary
#D88CF7 #E0F78C #8CF7A2
monochromatic
#B11AEF #C553F3 #D88CF7 #EBC5FB #F5E2FD

Accessibility & contrast

On white

2.33
#D88CF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#D88CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D88CF7
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D88CF7#FFFFFF#000000##000000
##D88CF71.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A5FB
Deuteranopia (green-blind)
#8DACF4
Tritanopia (blue-blind)
#D69BB6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d88cf7;
/* rgb */ color: rgb(216, 140, 247);
/* oklch */ color: oklch(75.6% 0.167 315.6);
Tailwind
colors: {
  custom: {
    50: '#e6affa',
    500: '#d88cf7',
    950: '#000000',
  },
}
SCSS
$custom: #d88cf7;
$custom-light: #e6affa;
$custom-dark: #000000;
JSON
{
  "hex": "#d88cf7",
  "rgb": {
    "r": 216,
    "g": 140,
    "b": 247
  },
  "hsl": {
    "h": 282.617,
    "s": 86.992,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75633,
    "c": 0.16684,
    "h": 315.6
  },
  "luminance": 0.4007
}

Semantic roles & 50–950 ramp

primary
#D88CF7
secondary
#DFF5D6
accent
#E40243
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #D88CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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