#D387F9#D387F9

#D387F9 is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.4% C 0.175 H 313.5°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#D387F9
RGBrgb(211, 135, 249)
HSLhsl(280, 90%, 75%)
HSVhsv(280, 46%, 98%)
CMYKcmyk(15.3%, 45.8%, 0%, 2.4%)
CIE-LABlab(68.03, 48.35, -45.67)
CIE-LCHlch(68.03, 66.51, 316.64°)
OKLaboklab(74.43% 0.1206 -0.1268)
OKLCHoklch(74.43% 0.175 313.5)
XYZxyz(52.6240, 38.0176, 94.1701)
Luminance0.3802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D387F9 #ADF987
analogous
#9A87F9 #D387F9 #F987E6
triadic
#D387F9 #F9D387 #87F9D3
tetradic
#D387F9 #F99A87 #ADF987 #87E6F9
square
#D387F9 #F99A87 #ADF987 #87E6F9
split-complementary
#D387F9 #E6F987 #87F99A
monochromatic
#A812F3 #BE4DF6 #D387F9 #E8C1FC #F4E2FE

Accessibility & contrast

On white

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

On black

8.60
#D387F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D387F9
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D387F9#FFFFFF#000000##000000
##D387F91.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FD
Deuteranopia (green-blind)
#84A8F6
Tritanopia (blue-blind)
#D098B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d387f9;
/* rgb */ color: rgb(211, 135, 249);
/* oklch */ color: oklch(74.4% 0.175 313.5);
Tailwind
colors: {
  custom: {
    50: '#e2acfb',
    500: '#d387f9',
    950: '#000000',
  },
}
SCSS
$custom: #d387f9;
$custom-light: #e2acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d387f9",
  "rgb": {
    "r": 211,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 280,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.7443,
    "c": 0.17501,
    "h": 313.5
  },
  "luminance": 0.38016
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D387F9

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

Preview Lab → · Contrast checker → · Palette generator →

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