#D387FB#D387FB

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

Color values

HEX#D387FB
RGBrgb(211, 135, 251)
HSLhsl(279, 94%, 76%)
HSVhsv(279, 46%, 98%)
CMYKcmyk(15.9%, 46.2%, 0%, 1.6%)
CIE-LABlab(68.13, 48.77, -46.62)
CIE-LCHlch(68.13, 67.47, 316.29°)
OKLaboklab(74.53% 0.1209 -0.1296)
OKLCHoklch(74.53% 0.177 313)
XYZxyz(52.9376, 38.1430, 95.8217)
Luminance0.3814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D387FB #AFFB87
analogous
#9987FB #D387FB #FB87E9
triadic
#D387FB #FBD387 #87FBD3
tetradic
#D387FB #FB9987 #AFFB87 #87E9FB
square
#D387FB #FB9987 #AFFB87 #87E9FB
split-complementary
#D387FB #E9FB87 #87FB99
monochromatic
#A811F7 #BD4CF9 #D387FB #E9C2FD #F4E1FE

Accessibility & contrast

On white

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

On black

8.63
#D387FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D387FB
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D387FB#FFFFFF#000000##000000
##D387FB1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#83A8F8
Tritanopia (blue-blind)
#CF99B5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d387fb;
/* rgb */ color: rgb(211, 135, 251);
/* oklch */ color: oklch(74.5% 0.177 313.0);
Tailwind
colors: {
  custom: {
    50: '#e2acfd',
    500: '#d387fb',
    950: '#000000',
  },
}
SCSS
$custom: #d387fb;
$custom-light: #e2acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d387fb",
  "rgb": {
    "r": 211,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 279.31,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74529,
    "c": 0.17721,
    "h": 313
  },
  "luminance": 0.38142
}

Semantic roles & 50–950 ramp

primary
#D387FB
secondary
#E0F6D5
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D387FB

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

Preview Lab → · Contrast checker → · Palette generator →

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