#D396FC#D396FC

#D396FC is a light, vivid violet. Relative luminance 0.427; OKLCH L 77.0% C 0.154 H 310.7°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#D396FC
RGBrgb(211, 150, 252)
HSLhsl(276, 94%, 79%)
HSVhsv(276, 40%, 99%)
CMYKcmyk(16.3%, 40.5%, 0%, 1.2%)
CIE-LABlab(71.34, 41.02, -42.11)
CIE-LCHlch(71.34, 58.79, 314.25°)
OKLaboklab(76.96% 0.1004 -0.1167)
OKLCHoklch(76.96% 0.154 310.7)
XYZxyz(55.3379, 42.6907, 97.4015)
Luminance0.4269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D396FC #BFFC96
analogous
#A096FC #D396FC #FC96F2
triadic
#D396FC #FCD396 #96FCD3
tetradic
#D396FC #FCA096 #BFFC96 #96F2FC
square
#D396FC #FCA096 #BFFC96 #96F2FC
split-complementary
#D396FC #F2FC96 #96FCA0
monochromatic
#A11FF9 #BA5BFA #D396FC #ECD2FE #F3E1FE

Accessibility & contrast

On white

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

On black

9.54
#D396FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D396FC
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D396FC#FFFFFF#000000##000000
##D396FC1.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d396fc;
/* rgb */ color: rgb(211, 150, 252);
/* oklch */ color: oklch(77.0% 0.154 310.7);
Tailwind
colors: {
  custom: {
    50: '#e2b6fd',
    500: '#d396fc',
    950: '#000000',
  },
}
SCSS
$custom: #d396fc;
$custom-light: #e2b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d396fc",
  "rgb": {
    "r": 211,
    "g": 150,
    "b": 252
  },
  "hsl": {
    "h": 275.882,
    "s": 94.444,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76956,
    "c": 0.1539,
    "h": 310.7
  },
  "luminance": 0.4269
}

Semantic roles & 50–950 ramp

primary
#D396FC
secondary
#E2F6D5
accent
#E6005C
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086

Preview Lab

Preview with #D396FC

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

Preview Lab → · Contrast checker → · Palette generator →

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