#D287FD#D287FD

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

Color values

HEX#D287FD
RGBrgb(210, 135, 253)
HSLhsl(278, 97%, 76%)
HSVhsv(278, 47%, 99%)
CMYKcmyk(17%, 46.6%, 0%, 0.8%)
CIE-LABlab(68.11, 48.92, -47.74)
CIE-LCHlch(68.11, 68.35, 315.70°)
OKLaboklab(74.52% 0.12 -0.1329)
OKLCHoklch(74.52% 0.179 312.1)
XYZxyz(52.9689, 38.1225, 97.4775)
Luminance0.3812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D287FD #B2FD87
analogous
#9787FD #D287FD #FD87ED
triadic
#D287FD #FDD287 #87FDD2
tetradic
#D287FD #FD9787 #B2FD87 #87EDFD
square
#D287FD #FD9787 #B2FD87 #87EDFD
split-complementary
#D287FD #EDFD87 #87FD97
monochromatic
#A50FFB #BB4BFC #D287FD #E9C3FE #F4E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D287FD#FFFFFF#000000##000000
##D287FD1.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)
#6DA2FF
Deuteranopia (green-blind)
#81A8FA
Tritanopia (blue-blind)
#CE99B6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d287fd;
/* rgb */ color: rgb(210, 135, 253);
/* oklch */ color: oklch(74.5% 0.179 312.1);
Tailwind
colors: {
  custom: {
    50: '#e2acfe',
    500: '#d287fd',
    950: '#000000',
  },
}
SCSS
$custom: #d287fd;
$custom-light: #e2acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d287fd",
  "rgb": {
    "r": 210,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 278.136,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74525,
    "c": 0.17901,
    "h": 312.1
  },
  "luminance": 0.38121
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D287FD

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

Preview Lab → · Contrast checker → · Palette generator →

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