#D396FE#D396FE

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

Color values

HEX#D396FE
RGBrgb(211, 150, 254)
HSLhsl(275, 98%, 79%)
HSVhsv(275, 41%, 100%)
CMYKcmyk(16.9%, 40.9%, 0%, 0.4%)
CIE-LABlab(71.43, 41.45, -43.06)
CIE-LCHlch(71.43, 59.77, 313.90°)
OKLaboklab(77.05% 0.1007 -0.1194)
OKLCHoklch(77.05% 0.156 310.1)
XYZxyz(55.6565, 42.8181, 99.0795)
Luminance0.4282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D396FE #C1FE96
analogous
#9F96FE #D396FE #FE96F5
triadic
#D396FE #FED396 #96FED3
tetradic
#D396FE #FE9F96 #C1FE96 #96F5FE
square
#D396FE #FE9F96 #C1FE96 #96F5FE
split-complementary
#D396FE #F5FE96 #96FE9F
monochromatic
#A01DFD #BA59FD #D396FE #ECD3FF #F2E1FF

Accessibility & contrast

On white

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

On black

9.56
#D396FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D396FE
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D396FE#FFFFFF#000000##000000
##D396FE1.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d396fe;
/* rgb */ color: rgb(211, 150, 254);
/* oklch */ color: oklch(77.0% 0.156 310.1);
Tailwind
colors: {
  custom: {
    50: '#e2b6ff',
    500: '#d396fe',
    950: '#000000',
  },
}
SCSS
$custom: #d396fe;
$custom-light: #e2b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d396fe",
  "rgb": {
    "r": 211,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 275.192,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.7705,
    "c": 0.15622,
    "h": 310.1
  },
  "luminance": 0.42817
}

Semantic roles & 50–950 ramp

primary
#D396FE
secondary
#E2F7D4
accent
#E6005F
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086

Preview Lab

Preview with #D396FE

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

Preview Lab → · Contrast checker → · Palette generator →

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