#D387FF#D387FF

#D387FF is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.7% C 0.182 H 311.9°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#D387FF
RGBrgb(211, 135, 255)
HSLhsl(278, 100%, 76%)
HSVhsv(278, 47%, 100%)
CMYKcmyk(17.3%, 47.1%, 0%, 0%)
CIE-LABlab(68.31, 49.61, -48.50)
CIE-LCHlch(68.31, 69.38, 315.64°)
OKLaboklab(74.73% 0.1214 -0.1351)
OKLCHoklch(74.73% 0.182 311.9)
XYZxyz(53.5748, 38.3979, 99.1776)
Luminance0.3840 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D387FF #B3FF87
analogous
#9787FF #D387FF #FF87EF
triadic
#D387FF #FFD387 #87FFD3
tetradic
#D387FF #FF9787 #B3FF87 #87EFFF
square
#D387FF #FF9787 #B3FF87 #87EFFF
split-complementary
#D387FF #EFFF87 #87FF97
monochromatic
#A60DFF #BD4AFF #D387FF #E9C4FF #F4E0FF

Accessibility & contrast

On white

2.42
#D387FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#D387FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D387FF
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D387FF#FFFFFF#000000##000000
##D387FF1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA3FF
Deuteranopia (green-blind)
#81A8FC
Tritanopia (blue-blind)
#CE9AB7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d387ff;
/* rgb */ color: rgb(211, 135, 255);
/* oklch */ color: oklch(74.7% 0.182 311.9);
Tailwind
colors: {
  custom: {
    50: '#e3acff',
    500: '#d387ff',
    950: '#000000',
  },
}
SCSS
$custom: #d387ff;
$custom-light: #e3acff;
$custom-dark: #000000;
JSON
{
  "hex": "#d387ff",
  "rgb": {
    "r": 211,
    "g": 135,
    "b": 255
  },
  "hsl": {
    "h": 278,
    "s": 100,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7473,
    "c": 0.1816,
    "h": 311.9
  },
  "luminance": 0.38397
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D387FF

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

Preview Lab → · Contrast checker → · Palette generator →

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