#D396F2#D396F2

#D396F2 is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.5% C 0.142 H 313.7°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#D396F2
RGBrgb(211, 150, 242)
HSLhsl(280, 78%, 77%)
HSVhsv(280, 38%, 95%)
CMYKcmyk(12.8%, 38%, 0%, 5.1%)
CIE-LABlab(70.92, 38.93, -37.33)
CIE-LCHlch(70.92, 53.93, 316.20°)
OKLaboklab(76.5% 0.0984 -0.1029)
OKLCHoklch(76.5% 0.142 313.7)
XYZxyz(53.7947, 42.0735, 89.2743)
Luminance0.4207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D396F2 #B5F296
analogous
#A596F2 #D396F2 #F296E3
triadic
#D396F2 #F2D396 #96F2D3
tetradic
#D396F2 #F2A596 #B5F296 #96E3F2
square
#D396F2 #F2A596 #B5F296 #96E3F2
split-complementary
#D396F2 #E3F296 #96F2A5
monochromatic
#A529E5 #BC60EB #D396F2 #EACCF9 #F4E4FC

Accessibility & contrast

On white

2.23
#D396F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#D396F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D396F2
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D396F2#FFFFFF#000000##000000
##D396F21.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#86AAF5
Deuteranopia (green-blind)
#95AFEF
Tritanopia (blue-blind)
#D1A3B9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d396f2;
/* rgb */ color: rgb(211, 150, 242);
/* oklch */ color: oklch(76.5% 0.142 313.7);
Tailwind
colors: {
  custom: {
    50: '#e2b6f6',
    500: '#d396f2',
    950: '#000000',
  },
}
SCSS
$custom: #d396f2;
$custom-light: #e2b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d396f2",
  "rgb": {
    "r": 211,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 279.783,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76498,
    "c": 0.14238,
    "h": 313.7
  },
  "luminance": 0.42072
}

Semantic roles & 50–950 ramp

primary
#D396F2
secondary
#E1F3D8
accent
#DA0B51
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #D396F2

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

Preview Lab → · Contrast checker → · Palette generator →

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