#D288F2#D288F2

#D288F2 is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.1% C 0.165 H 315.0°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#D288F2
RGBrgb(210, 136, 242)
HSLhsl(282, 80%, 74%)
HSVhsv(282, 44%, 95%)
CMYKcmyk(13.2%, 43.8%, 0%, 5.1%)
CIE-LABlab(67.82, 46.11, -42.18)
CIE-LCHlch(67.82, 62.49, 317.54°)
OKLaboklab(74.14% 0.117 -0.1168)
OKLCHoklch(74.14% 0.165 315)
XYZxyz(51.4070, 37.7221, 88.5603)
Luminance0.3772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D288F2 #A8F288
analogous
#9D88F2 #D288F2 #F288DD
triadic
#D288F2 #F2D288 #88F2D2
tetradic
#D288F2 #F29D88 #A8F288 #88DDF2
square
#D288F2 #F29D88 #A8F288 #88DDF2
split-complementary
#D288F2 #DDF288 #88F29D
monochromatic
#A81AE6 #BD51EC #D288F2 #E7BFF8 #F5E3FC

Accessibility & contrast

On white

2.46
#D288F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#D288F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D288F2
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D288F2#FFFFFF#000000##000000
##D288F21.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#88A7EF
Tritanopia (blue-blind)
#D097B2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d288f2;
/* rgb */ color: rgb(210, 136, 242);
/* oklch */ color: oklch(74.1% 0.165 315.0);
Tailwind
colors: {
  custom: {
    50: '#e1acf6',
    500: '#d288f2',
    950: '#000000',
  },
}
SCSS
$custom: #d288f2;
$custom-light: #e1acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d288f2",
  "rgb": {
    "r": 210,
    "g": 136,
    "b": 242
  },
  "hsl": {
    "h": 281.887,
    "s": 80.303,
    "l": 74.118
  },
  "oklch": {
    "l": 0.7414,
    "c": 0.16529,
    "h": 315
  },
  "luminance": 0.37721
}

Semantic roles & 50–950 ramp

primary
#D288F2
secondary
#E0F4D7
accent
#DD0949
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#151017
muted
#847F85

Preview Lab

Preview with #D288F2

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

Preview Lab → · Contrast checker → · Palette generator →

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