#D287FA#D287FA

#D287FA is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.4% C 0.176 H 312.9°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#D287FA
RGBrgb(210, 135, 250)
HSLhsl(279, 92%, 75%)
HSVhsv(279, 46%, 98%)
CMYKcmyk(16%, 46%, 0%, 2%)
CIE-LABlab(67.97, 48.29, -46.32)
CIE-LCHlch(67.97, 66.91, 316.19°)
OKLaboklab(74.38% 0.1196 -0.1288)
OKLCHoklch(74.38% 0.176 312.9)
XYZxyz(52.4947, 37.9329, 94.9804)
Luminance0.3793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287FA #AFFA87
analogous
#9887FA #D287FA #FA87E9
triadic
#D287FA #FAD287 #87FAD2
tetradic
#D287FA #FA9887 #AFFA87 #87E9FA
square
#D287FA #FA9887 #AFFA87 #87E9FA
split-complementary
#D287FA #E9FA87 #87FA98
monochromatic
#A611F5 #BC4CF8 #D287FA #E8C2FC #F4E2FE

Accessibility & contrast

On white

2.45
#D287FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#D287FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D287FA
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D287FA#FFFFFF#000000##000000
##D287FA1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FE
Deuteranopia (green-blind)
#83A7F7
Tritanopia (blue-blind)
#CE98B5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d287fa;
/* rgb */ color: rgb(210, 135, 250);
/* oklch */ color: oklch(74.4% 0.176 312.9);
Tailwind
colors: {
  custom: {
    50: '#e2acfc',
    500: '#d287fa',
    950: '#000000',
  },
}
SCSS
$custom: #d287fa;
$custom-light: #e2acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d287fa",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 279.13,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74375,
    "c": 0.1757,
    "h": 312.9
  },
  "luminance": 0.37932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D287FA

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

Preview Lab → · Contrast checker → · Palette generator →

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