#D288FA#D288FA

#D288FA is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.5% C 0.174 H 312.8°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#D288FA
RGBrgb(210, 136, 250)
HSLhsl(279, 92%, 76%)
HSVhsv(279, 46%, 98%)
CMYKcmyk(16%, 45.6%, 0%, 2%)
CIE-LABlab(68.18, 47.76, -46.00)
CIE-LCHlch(68.18, 66.31, 316.08°)
OKLaboklab(74.53% 0.1182 -0.1278)
OKLCHoklch(74.53% 0.174 312.8)
XYZxyz(52.6349, 38.2132, 95.0271)
Luminance0.3821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D288FA #B0FA88
analogous
#9988FA #D288FA #FA88E9
triadic
#D288FA #FAD288 #88FAD2
tetradic
#D288FA #FA9988 #B0FA88 #88E9FA
square
#D288FA #FA9988 #B0FA88 #88E9FA
split-complementary
#D288FA #E9FA88 #88FA99
monochromatic
#A613F5 #BC4DF8 #D288FA #E8C3FC #F4E2FE

Accessibility & contrast

On white

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

On black

8.64
#D288FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D288FA
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D288FA#FFFFFF#000000##000000
##D288FA1.002.438.648.64
#FFFFFF2.431.0021.0021.00
#0000008.6421.001.001.00
##0000008.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FE
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#CE99B5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d288fa;
/* rgb */ color: rgb(210, 136, 250);
/* oklch */ color: oklch(74.5% 0.174 312.8);
Tailwind
colors: {
  custom: {
    50: '#e2acfc',
    500: '#d288fa',
    950: '#000000',
  },
}
SCSS
$custom: #d288fa;
$custom-light: #e2acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d288fa",
  "rgb": {
    "r": 210,
    "g": 136,
    "b": 250
  },
  "hsl": {
    "h": 278.947,
    "s": 91.935,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74529,
    "c": 0.1741,
    "h": 312.8
  },
  "luminance": 0.38212
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D288FA

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

Preview Lab → · Contrast checker → · Palette generator →

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