#D396FF#D396FF

#D396FF is a light, vivid violet. Relative luminance 0.429; OKLCH L 77.1% C 0.157 H 309.9°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).

Color values

HEX#D396FF
RGBrgb(211, 150, 255)
HSLhsl(275, 100%, 79%)
HSVhsv(275, 41%, 100%)
CMYKcmyk(17.3%, 41.2%, 0%, 0%)
CIE-LABlab(71.48, 41.66, -43.54)
CIE-LCHlch(71.48, 60.26, 313.74°)
OKLaboklab(77.1% 0.1009 -0.1208)
OKLCHoklch(77.1% 0.157 309.9)
XYZxyz(55.8170, 42.8824, 99.9250)
Luminance0.4288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D396FF #C2FF96
analogous
#9F96FF #D396FF #FF96F7
triadic
#D396FF #FFD396 #96FFD3
tetradic
#D396FF #FF9F96 #C2FF96 #96F7FF
square
#D396FF #FF9F96 #C2FF96 #96F7FF
split-complementary
#D396FF #F7FF96 #96FF9F
monochromatic
#A01CFF #B959FF #D396FF #EDD3FF #F2E0FF

Accessibility & contrast

On white

2.19
#D396FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.58
#D396FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D396FF
9.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D396FF#FFFFFF#000000##000000
##D396FF1.002.199.589.58
#FFFFFF2.191.0021.0021.00
#0000009.5821.001.001.00
##0000009.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#80ACFF
Deuteranopia (green-blind)
#8FB0FC
Tritanopia (blue-blind)
#CEA6BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d396ff;
/* rgb */ color: rgb(211, 150, 255);
/* oklch */ color: oklch(77.1% 0.157 309.9);
Tailwind
colors: {
  custom: {
    50: '#e2b6ff',
    500: '#d396ff',
    950: '#000000',
  },
}
SCSS
$custom: #d396ff;
$custom-light: #e2b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d396ff",
  "rgb": {
    "r": 211,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 274.857,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77097,
    "c": 0.15738,
    "h": 309.9
  },
  "luminance": 0.42882
}

Semantic roles & 50–950 ramp

primary
#D396FF
secondary
#E3F7D4
accent
#E60060
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086

Preview Lab

Preview with #D396FF

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

Preview Lab → · Contrast checker → · Palette generator →

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