#D396FB#D396FB

#D396FB is a light, vivid violet. Relative luminance 0.426; OKLCH L 76.9% C 0.153 H 311.0°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#D396FB
RGBrgb(211, 150, 251)
HSLhsl(276, 93%, 79%)
HSVhsv(276, 40%, 98%)
CMYKcmyk(15.9%, 40.2%, 0%, 1.6%)
CIE-LABlab(71.30, 40.81, -41.64)
CIE-LCHlch(71.30, 58.30, 314.43°)
OKLaboklab(76.91% 0.1002 -0.1153)
OKLCHoklch(76.91% 0.153 311)
XYZxyz(55.1798, 42.6275, 96.5692)
Luminance0.4263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D396FB #BEFB96
analogous
#A096FB #D396FB #FB96F0
triadic
#D396FB #FBD396 #96FBD3
tetradic
#D396FB #FBA096 #BEFB96 #96F0FB
square
#D396FB #FBA096 #BEFB96 #96F0FB
split-complementary
#D396FB #F0FB96 #96FBA0
monochromatic
#A220F7 #BA5BF9 #D396FB #ECD1FD #F3E2FE

Accessibility & contrast

On white

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

On black

9.53
#D396FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D396FB
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D396FB#FFFFFF#000000##000000
##D396FB1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ACFF
Deuteranopia (green-blind)
#91B0F8
Tritanopia (blue-blind)
#CFA5BD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d396fb;
/* rgb */ color: rgb(211, 150, 251);
/* oklch */ color: oklch(76.9% 0.153 311.0);
Tailwind
colors: {
  custom: {
    50: '#e2b6fd',
    500: '#d396fb',
    950: '#000000',
  },
}
SCSS
$custom: #d396fb;
$custom-light: #e2b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d396fb",
  "rgb": {
    "r": 211,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 276.238,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76909,
    "c": 0.15274,
    "h": 311
  },
  "luminance": 0.42627
}

Semantic roles & 50–950 ramp

primary
#D396FB
secondary
#E2F6D5
accent
#E6005B
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151117
muted
#848085

Preview Lab

Preview with #D396FB

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

Preview Lab → · Contrast checker → · Palette generator →

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