#D396F9#D396F9

#D396F9 is a light, vivid violet. Relative luminance 0.425; OKLCH L 76.8% C 0.150 H 311.6°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#D396F9
RGBrgb(211, 150, 249)
HSLhsl(277, 89%, 78%)
HSVhsv(277, 40%, 98%)
CMYKcmyk(15.3%, 39.8%, 0%, 2.4%)
CIE-LABlab(71.22, 40.39, -40.68)
CIE-LCHlch(71.22, 57.33, 314.79°)
OKLaboklab(76.82% 0.0998 -0.1125)
OKLCHoklch(76.82% 0.15 311.6)
XYZxyz(54.8662, 42.5021, 94.9176)
Luminance0.4250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D396F9 #BCF996
analogous
#A196F9 #D396F9 #F996ED
triadic
#D396F9 #F9D396 #96F9D3
tetradic
#D396F9 #F9A196 #BCF996 #96EDF9
square
#D396F9 #F9A196 #BCF996 #96EDF9
split-complementary
#D396F9 #EDF996 #96F9A1
monochromatic
#A222F2 #BB5CF6 #D396F9 #EBD0FC #F3E2FD

Accessibility & contrast

On white

2.21
#D396F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.50
#D396F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D396F9
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D396F9#FFFFFF#000000##000000
##D396F91.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ABFD
Deuteranopia (green-blind)
#92B0F6
Tritanopia (blue-blind)
#CFA4BC
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d396f9;
/* rgb */ color: rgb(211, 150, 249);
/* oklch */ color: oklch(76.8% 0.150 311.6);
Tailwind
colors: {
  custom: {
    50: '#e2b6fb',
    500: '#d396f9',
    950: '#000000',
  },
}
SCSS
$custom: #d396f9;
$custom-light: #e2b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d396f9",
  "rgb": {
    "r": 211,
    "g": 150,
    "b": 249
  },
  "hsl": {
    "h": 276.97,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76817,
    "c": 0.15042,
    "h": 311.6
  },
  "luminance": 0.42501
}

Semantic roles & 50–950 ramp

primary
#D396F9
secondary
#E2F5D6
accent
#E60058
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151117
muted
#848085

Preview Lab

Preview with #D396F9

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

Preview Lab → · Contrast checker → · Palette generator →

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