#D396FD#D396FD

#D396FD is a light, vivid violet. Relative luminance 0.428; OKLCH L 77.0% C 0.155 H 310.4°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#D396FD
RGBrgb(211, 150, 253)
HSLhsl(276, 96%, 79%)
HSVhsv(276, 41%, 99%)
CMYKcmyk(16.6%, 40.7%, 0%, 0.8%)
CIE-LABlab(71.39, 41.23, -42.59)
CIE-LCHlch(71.39, 59.28, 314.07°)
OKLaboklab(77% 0.1005 -0.118)
OKLCHoklch(77% 0.155 310.4)
XYZxyz(55.4967, 42.7543, 98.2383)
Luminance0.4275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D396FD #C0FD96
analogous
#A096FD #D396FD #FD96F4
triadic
#D396FD #FDD396 #96FDD3
tetradic
#D396FD #FDA096 #C0FD96 #96F4FD
square
#D396FD #FDA096 #C0FD96 #96F4FD
split-complementary
#D396FD #F4FD96 #96FDA0
monochromatic
#A11EFB #BA5AFC #D396FD #ECD2FE #F2E1FE

Accessibility & contrast

On white

2.20
#D396FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#D396FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D396FD
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D396FD#FFFFFF#000000##000000
##D396FD1.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ACFF
Deuteranopia (green-blind)
#90B0FA
Tritanopia (blue-blind)
#CEA5BE
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d396fd;
/* rgb */ color: rgb(211, 150, 253);
/* oklch */ color: oklch(77.0% 0.155 310.4);
Tailwind
colors: {
  custom: {
    50: '#e2b6fe',
    500: '#d396fd',
    950: '#000000',
  },
}
SCSS
$custom: #d396fd;
$custom-light: #e2b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d396fd",
  "rgb": {
    "r": 211,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 275.534,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77003,
    "c": 0.15505,
    "h": 310.4
  },
  "luminance": 0.42753
}

Semantic roles & 50–950 ramp

primary
#D396FD
secondary
#E2F7D4
accent
#E6005E
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086

Preview Lab

Preview with #D396FD

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

Preview Lab → · Contrast checker → · Palette generator →

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