#D387FD#D387FD

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

Color values

HEX#D387FD
RGBrgb(211, 135, 253)
HSLhsl(279, 97%, 76%)
HSVhsv(279, 47%, 99%)
CMYKcmyk(16.6%, 46.6%, 0%, 0.8%)
CIE-LABlab(68.22, 49.19, -47.56)
CIE-LCHlch(68.22, 68.42, 315.96°)
OKLaboklab(74.63% 0.1211 -0.1323)
OKLCHoklch(74.63% 0.179 312.5)
XYZxyz(53.2545, 38.2698, 97.4909)
Luminance0.3827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D387FD #B1FD87
analogous
#9887FD #D387FD #FD87EC
triadic
#D387FD #FDD387 #87FDD3
tetradic
#D387FD #FD9887 #B1FD87 #87ECFD
square
#D387FD #FD9887 #B1FD87 #87ECFD
split-complementary
#D387FD #ECFD87 #87FD98
monochromatic
#A70FFB #BD4BFC #D387FD #E9C3FE #F4E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D387FD#FFFFFF#000000##000000
##D387FD1.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)
#6DA2FF
Deuteranopia (green-blind)
#82A8FA
Tritanopia (blue-blind)
#CF99B6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d387fd;
/* rgb */ color: rgb(211, 135, 253);
/* oklch */ color: oklch(74.6% 0.179 312.5);
Tailwind
colors: {
  custom: {
    50: '#e2acfe',
    500: '#d387fd',
    950: '#000000',
  },
}
SCSS
$custom: #d387fd;
$custom-light: #e2acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d387fd",
  "rgb": {
    "r": 211,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 278.644,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74629,
    "c": 0.17941,
    "h": 312.5
  },
  "luminance": 0.38269
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D387FD

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

Preview Lab → · Contrast checker → · Palette generator →

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