#D288FE#D288FE

#D288FE is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.7% C 0.179 H 311.7°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#D288FE
RGBrgb(210, 136, 254)
HSLhsl(278, 98%, 76%)
HSVhsv(278, 46%, 100%)
CMYKcmyk(17.3%, 46.5%, 0%, 0.4%)
CIE-LABlab(68.36, 48.60, -47.89)
CIE-LCHlch(68.36, 68.23, 315.43°)
OKLaboklab(74.73% 0.1187 -0.1333)
OKLCHoklch(74.73% 0.179 311.7)
XYZxyz(53.2687, 38.4668, 98.3654)
Luminance0.3847 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D288FE #B4FE88
analogous
#9788FE #D288FE #FE88EF
triadic
#D288FE #FED288 #88FED2
tetradic
#D288FE #FE9788 #B4FE88 #88EFFE
square
#D288FE #FE9788 #B4FE88 #88EFFE
split-complementary
#D288FE #EFFE88 #88FE97
monochromatic
#A40FFD #BB4BFD #D288FE #E9C5FF #F4E1FF

Accessibility & contrast

On white

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

On black

8.69
#D288FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D288FE
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D288FE#FFFFFF#000000##000000
##D288FE1.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#82A8FB
Tritanopia (blue-blind)
#CD9AB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d288fe;
/* rgb */ color: rgb(210, 136, 254);
/* oklch */ color: oklch(74.7% 0.179 311.7);
Tailwind
colors: {
  custom: {
    50: '#e2acff',
    500: '#d288fe',
    950: '#000000',
  },
}
SCSS
$custom: #d288fe;
$custom-light: #e2acff;
$custom-dark: #000000;
JSON
{
  "hex": "#d288fe",
  "rgb": {
    "r": 210,
    "g": 136,
    "b": 254
  },
  "hsl": {
    "h": 277.627,
    "s": 98.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74728,
    "c": 0.17852,
    "h": 311.7
  },
  "luminance": 0.38466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D288FE

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

Preview Lab → · Contrast checker → · Palette generator →

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