#D287FF#D287FF

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

Color values

HEX#D287FF
RGBrgb(210, 135, 255)
HSLhsl(278, 100%, 76%)
HSVhsv(278, 47%, 100%)
CMYKcmyk(17.6%, 47.1%, 0%, 0%)
CIE-LABlab(68.20, 49.34, -48.68)
CIE-LCHlch(68.20, 69.31, 315.38°)
OKLaboklab(74.63% 0.1202 -0.1356)
OKLCHoklch(74.63% 0.181 311.6)
XYZxyz(53.2891, 38.2506, 99.1642)
Luminance0.3825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287FF #B4FF87
analogous
#9687FF #D287FF #FF87F0
triadic
#D287FF #FFD287 #87FFD2
tetradic
#D287FF #FF9687 #B4FF87 #87F0FF
square
#D287FF #FF9687 #B4FF87 #87F0FF
split-complementary
#D287FF #F0FF87 #87FF96
monochromatic
#A40DFF #BB4AFF #D287FF #E9C4FF #F4E0FF

Accessibility & contrast

On white

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

On black

8.65
#D287FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287FF
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287FF#FFFFFF#000000##000000
##D287FF1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6BA2FF
Deuteranopia (green-blind)
#80A8FC
Tritanopia (blue-blind)
#CD9AB7
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d287ff;
/* rgb */ color: rgb(210, 135, 255);
/* oklch */ color: oklch(74.6% 0.181 311.6);
Tailwind
colors: {
  custom: {
    50: '#e2acff',
    500: '#d287ff',
    950: '#000000',
  },
}
SCSS
$custom: #d287ff;
$custom-light: #e2acff;
$custom-dark: #000000;
JSON
{
  "hex": "#d287ff",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 277.5,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74625,
    "c": 0.18123,
    "h": 311.6
  },
  "luminance": 0.3825
}

Semantic roles & 50–950 ramp

primary
#D287FF
secondary
#E1F7D4
accent
#E60056
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D287FF

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

Preview Lab → · Contrast checker → · Palette generator →

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