#D288F7#D288F7

#D288F7 is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.4% C 0.171 H 313.6°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#D288F7
RGBrgb(210, 136, 247)
HSLhsl(280, 87%, 75%)
HSVhsv(280, 45%, 97%)
CMYKcmyk(15%, 44.9%, 0%, 3.1%)
CIE-LABlab(68.04, 47.14, -44.57)
CIE-LCHlch(68.04, 64.87, 316.60°)
OKLaboklab(74.38% 0.1177 -0.1237)
OKLCHoklch(74.38% 0.171 313.6)
XYZxyz(52.1682, 38.0266, 92.5694)
Luminance0.3802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D288F7 #ADF788
analogous
#9A88F7 #D288F7 #F788E5
triadic
#D288F7 #F7D288 #88F7D2
tetradic
#D288F7 #F79A88 #ADF788 #88E5F7
square
#D288F7 #F79A88 #ADF788 #88E5F7
split-complementary
#D288F7 #E5F788 #88F79A
monochromatic
#A715EF #BC4FF3 #D288F7 #E8C1FB #F4E2FD

Accessibility & contrast

On white

2.44
#D288F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#D288F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D288F7
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D288F7#FFFFFF#000000##000000
##D288F71.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A2FB
Deuteranopia (green-blind)
#86A8F4
Tritanopia (blue-blind)
#CF98B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d288f7;
/* rgb */ color: rgb(210, 136, 247);
/* oklch */ color: oklch(74.4% 0.171 313.6);
Tailwind
colors: {
  custom: {
    50: '#e2acfa',
    500: '#d288f7',
    950: '#000000',
  },
}
SCSS
$custom: #d288f7;
$custom-light: #e2acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#d288f7",
  "rgb": {
    "r": 210,
    "g": 136,
    "b": 247
  },
  "hsl": {
    "h": 280,
    "s": 87.402,
    "l": 75.098
  },
  "oklch": {
    "l": 0.74381,
    "c": 0.17078,
    "h": 313.6
  },
  "luminance": 0.38025
}

Semantic roles & 50–950 ramp

primary
#D288F7
secondary
#E0F5D6
accent
#E4024D
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D288F7

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

Preview Lab → · Contrast checker → · Palette generator →

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