#D288FB#D288FB

#D288FB is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.6% C 0.175 H 312.5°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#D288FB
RGBrgb(210, 136, 251)
HSLhsl(279, 93%, 76%)
HSVhsv(279, 46%, 98%)
CMYKcmyk(16.3%, 45.8%, 0%, 1.6%)
CIE-LABlab(68.22, 47.97, -46.47)
CIE-LCHlch(68.22, 66.79, 315.91°)
OKLaboklab(74.58% 0.1183 -0.1292)
OKLCHoklch(74.58% 0.175 312.5)
XYZxyz(52.7921, 38.2761, 95.8551)
Luminance0.3827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D288FB #B1FB88
analogous
#9888FB #D288FB #FB88EA
triadic
#D288FB #FBD288 #88FBD2
tetradic
#D288FB #FB9888 #B1FB88 #88EAFB
square
#D288FB #FB9888 #B1FB88 #88EAFB
split-complementary
#D288FB #EAFB88 #88FB98
monochromatic
#A512F7 #BC4DF9 #D288FB #E8C3FD #F4E1FE

Accessibility & contrast

On white

2.43
#D288FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#D288FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D288FB
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D288FB#FFFFFF#000000##000000
##D288FB1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#83A8F8
Tritanopia (blue-blind)
#CE9AB6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d288fb;
/* rgb */ color: rgb(210, 136, 251);
/* oklch */ color: oklch(74.6% 0.175 312.5);
Tailwind
colors: {
  custom: {
    50: '#e2acfd',
    500: '#d288fb',
    950: '#000000',
  },
}
SCSS
$custom: #d288fb;
$custom-light: #e2acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d288fb",
  "rgb": {
    "r": 210,
    "g": 136,
    "b": 251
  },
  "hsl": {
    "h": 278.609,
    "s": 93.496,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74578,
    "c": 0.1752,
    "h": 312.5
  },
  "luminance": 0.38275
}

Semantic roles & 50–950 ramp

primary
#D288FB
secondary
#E1F6D5
accent
#E60052
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D288FB

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

Preview Lab → · Contrast checker → · Palette generator →

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