#D288F8#D288F8

#D288F8 is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.4% C 0.172 H 313.3°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#D288F8
RGBrgb(210, 136, 248)
HSLhsl(280, 89%, 75%)
HSVhsv(280, 45%, 97%)
CMYKcmyk(15.3%, 45.2%, 0%, 2.7%)
CIE-LABlab(68.09, 47.35, -45.05)
CIE-LCHlch(68.09, 65.35, 316.43°)
OKLaboklab(74.43% 0.1179 -0.1251)
OKLCHoklch(74.43% 0.172 313.3)
XYZxyz(52.3230, 38.0884, 93.3842)
Luminance0.3809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D288F8 #AEF888
analogous
#9A88F8 #D288F8 #F888E6
triadic
#D288F8 #F8D288 #88F8D2
tetradic
#D288F8 #F89A88 #AEF888 #88E6F8
square
#D288F8 #F89A88 #AEF888 #88E6F8
split-complementary
#D288F8 #E6F888 #88F89A
monochromatic
#A614F1 #BC4EF5 #D288F8 #E8C2FB #F4E2FD

Accessibility & contrast

On white

2.44
#D288F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#D288F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D288F8
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D288F8#FFFFFF#000000##000000
##D288F81.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A2FC
Deuteranopia (green-blind)
#85A8F5
Tritanopia (blue-blind)
#CF99B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d288f8;
/* rgb */ color: rgb(210, 136, 248);
/* oklch */ color: oklch(74.4% 0.172 313.3);
Tailwind
colors: {
  custom: {
    50: '#e2acfb',
    500: '#d288f8',
    950: '#000000',
  },
}
SCSS
$custom: #d288f8;
$custom-light: #e2acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d288f8",
  "rgb": {
    "r": 210,
    "g": 136,
    "b": 248
  },
  "hsl": {
    "h": 279.643,
    "s": 88.889,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7443,
    "c": 0.17188,
    "h": 313.3
  },
  "luminance": 0.38087
}

Semantic roles & 50–950 ramp

primary
#D288F8
secondary
#E0F5D6
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D288F8

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

Preview Lab → · Contrast checker → · Palette generator →

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