#D288FC#D288FC

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

Color values

HEX#D288FC
RGBrgb(210, 136, 252)
HSLhsl(278, 95%, 76%)
HSVhsv(278, 46%, 99%)
CMYKcmyk(16.7%, 46%, 0%, 1.2%)
CIE-LABlab(68.27, 48.18, -46.94)
CIE-LCHlch(68.27, 67.27, 315.75°)
OKLaboklab(74.63% 0.1185 -0.1306)
OKLCHoklch(74.63% 0.176 312.2)
XYZxyz(52.9502, 38.3393, 96.6875)
Luminance0.3834 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D288FC #B2FC88
analogous
#9888FC #D288FC #FC88EC
triadic
#D288FC #FCD288 #88FCD2
tetradic
#D288FC #FC9888 #B2FC88 #88ECFC
square
#D288FC #FC9888 #B2FC88 #88ECFC
split-complementary
#D288FC #ECFC88 #88FC98
monochromatic
#A511F9 #BB4CFA #D288FC #E9C4FE #F4E1FE

Accessibility & contrast

On white

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

On black

8.67
#D288FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D288FC
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D288FC#FFFFFF#000000##000000
##D288FC1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d288fc;
/* rgb */ color: rgb(210, 136, 252);
/* oklch */ color: oklch(74.6% 0.176 312.2);
Tailwind
colors: {
  custom: {
    50: '#e2acfe',
    500: '#d288fc',
    950: '#000000',
  },
}
SCSS
$custom: #d288fc;
$custom-light: #e2acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d288fc",
  "rgb": {
    "r": 210,
    "g": 136,
    "b": 252
  },
  "hsl": {
    "h": 278.276,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74628,
    "c": 0.17631,
    "h": 312.2
  },
  "luminance": 0.38338
}

Semantic roles & 50–950 ramp

primary
#D288FC
secondary
#E1F6D5
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D288FC

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

Preview Lab → · Contrast checker → · Palette generator →

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