#D288FD#D288FD

#D288FD is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.7% C 0.177 H 312.0°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#D288FD
RGBrgb(210, 136, 253)
HSLhsl(278, 97%, 76%)
HSVhsv(278, 46%, 99%)
CMYKcmyk(17%, 46.2%, 0%, 0.8%)
CIE-LABlab(68.32, 48.39, -47.41)
CIE-LCHlch(68.32, 67.75, 315.58°)
OKLaboklab(74.68% 0.1186 -0.1319)
OKLCHoklch(74.68% 0.177 312)
XYZxyz(53.1090, 38.4029, 97.5242)
Luminance0.3840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D288FD #B3FD88
analogous
#9888FD #D288FD #FD88ED
triadic
#D288FD #FDD288 #88FDD2
tetradic
#D288FD #FD9888 #B3FD88 #88EDFD
square
#D288FD #FD9888 #B3FD88 #88EDFD
split-complementary
#D288FD #EDFD88 #88FD98
monochromatic
#A410FB #BB4CFC #D288FD #E9C4FE #F4E1FE

Accessibility & contrast

On white

2.42
#D288FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#D288FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D288FD
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D288FD#FFFFFF#000000##000000
##D288FD1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA3FF
Deuteranopia (green-blind)
#82A8FA
Tritanopia (blue-blind)
#CE9AB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d288fd;
/* rgb */ color: rgb(210, 136, 253);
/* oklch */ color: oklch(74.7% 0.177 312.0);
Tailwind
colors: {
  custom: {
    50: '#e2acfe',
    500: '#d288fd',
    950: '#000000',
  },
}
SCSS
$custom: #d288fd;
$custom-light: #e2acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d288fd",
  "rgb": {
    "r": 210,
    "g": 136,
    "b": 253
  },
  "hsl": {
    "h": 277.949,
    "s": 96.694,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74678,
    "c": 0.17742,
    "h": 312
  },
  "luminance": 0.38402
}

Semantic roles & 50–950 ramp

primary
#D288FD
secondary
#E1F7D4
accent
#E60054
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D288FD

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

Preview Lab → · Contrast checker → · Palette generator →

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