#D087FA#D087FA

#D087FA is a light, vivid violet. Relative luminance 0.376; OKLCH L 74.2% C 0.175 H 312.1°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#D087FA
RGBrgb(208, 135, 250)
HSLhsl(278, 92%, 75%)
HSVhsv(278, 46%, 98%)
CMYKcmyk(16.8%, 46%, 0%, 2%)
CIE-LABlab(67.76, 47.74, -46.67)
CIE-LCHlch(67.76, 66.76, 315.65°)
OKLaboklab(74.17% 0.1172 -0.1298)
OKLCHoklch(74.17% 0.175 312.1)
XYZxyz(51.9287, 37.6410, 94.9538)
Luminance0.3764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D087FA #B1FA87
analogous
#9687FA #D087FA #FA87EA
triadic
#D087FA #FAD087 #87FAD0
tetradic
#D087FA #FA9687 #B1FA87 #87EAFA
square
#D087FA #FA9687 #B1FA87 #87EAFA
split-complementary
#D087FA #EAFA87 #87FA96
monochromatic
#A211F5 #B94CF8 #D087FA #E7C2FC #F3E2FE

Accessibility & contrast

On white

2.46
#D087FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#D087FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D087FA
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D087FA#FFFFFF#000000##000000
##D087FA1.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA1FE
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#CC99B5
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d087fa;
/* rgb */ color: rgb(208, 135, 250);
/* oklch */ color: oklch(74.2% 0.175 312.1);
Tailwind
colors: {
  custom: {
    50: '#e0acfc',
    500: '#d087fa',
    950: '#000000',
  },
}
SCSS
$custom: #d087fa;
$custom-light: #e0acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d087fa",
  "rgb": {
    "r": 208,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 278.087,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74166,
    "c": 0.17491,
    "h": 312.1
  },
  "luminance": 0.3764
}

Semantic roles & 50–950 ramp

primary
#D087FA
secondary
#E1F6D5
accent
#E60054
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #D087FA

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

Preview Lab → · Contrast checker → · Palette generator →

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