#D287FB#D287FB

#D287FB is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.4% C 0.177 H 312.6°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#D287FB
RGBrgb(210, 135, 251)
HSLhsl(279, 94%, 76%)
HSVhsv(279, 46%, 98%)
CMYKcmyk(16.3%, 46.2%, 0%, 1.6%)
CIE-LABlab(68.02, 48.50, -46.79)
CIE-LCHlch(68.02, 67.39, 316.02°)
OKLaboklab(74.42% 0.1197 -0.1301)
OKLCHoklch(74.42% 0.177 312.6)
XYZxyz(52.6519, 37.9957, 95.8084)
Luminance0.3800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287FB #B0FB87
analogous
#9887FB #D287FB #FB87EA
triadic
#D287FB #FBD287 #87FBD2
tetradic
#D287FB #FB9887 #B0FB87 #87EAFB
square
#D287FB #FB9887 #B0FB87 #87EAFB
split-complementary
#D287FB #EAFB87 #87FB98
monochromatic
#A611F7 #BC4CF9 #D287FB #E8C2FD #F4E1FE

Accessibility & contrast

On white

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

On black

8.60
#D287FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287FB
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287FB#FFFFFF#000000##000000
##D287FB1.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d287fb;
/* rgb */ color: rgb(210, 135, 251);
/* oklch */ color: oklch(74.4% 0.177 312.6);
Tailwind
colors: {
  custom: {
    50: '#e2acfd',
    500: '#d287fb',
    950: '#000000',
  },
}
SCSS
$custom: #d287fb;
$custom-light: #e2acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d287fb",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 278.793,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74424,
    "c": 0.1768,
    "h": 312.6
  },
  "luminance": 0.37995
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D287FB

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

Preview Lab → · Contrast checker → · Palette generator →

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