#D393FE#D393FE

#D393FE is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.6% C 0.161 H 310.6°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#D393FE
RGBrgb(211, 147, 254)
HSLhsl(276, 98%, 79%)
HSVhsv(276, 42%, 100%)
CMYKcmyk(16.9%, 42.1%, 0%, 0.4%)
CIE-LABlab(70.78, 43.05, -44.08)
CIE-LCHlch(70.78, 61.62, 314.33°)
OKLaboklab(76.56% 0.1049 -0.1223)
OKLCHoklch(76.56% 0.161 310.6)
XYZxyz(55.1839, 41.8730, 98.9219)
Luminance0.4187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D393FE #BEFE93
analogous
#9D93FE #D393FE #FE93F3
triadic
#D393FE #FED393 #93FED3
tetradic
#D393FE #FE9D93 #BEFE93 #93F3FE
square
#D393FE #FE9D93 #BEFE93 #93F3FE
split-complementary
#D393FE #F3FE93 #93FE9D
monochromatic
#A21AFD #BA56FD #D393FE #ECD0FF #F3E1FF

Accessibility & contrast

On white

2.24
#D393FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#D393FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D393FE
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D393FE#FFFFFF#000000##000000
##D393FE1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#8DAEFB
Tritanopia (blue-blind)
#CEA3BD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d393fe;
/* rgb */ color: rgb(211, 147, 254);
/* oklch */ color: oklch(76.6% 0.161 310.6);
Tailwind
colors: {
  custom: {
    50: '#e2b4ff',
    500: '#d393fe',
    950: '#000000',
  },
}
SCSS
$custom: #d393fe;
$custom-light: #e2b4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d393fe",
  "rgb": {
    "r": 211,
    "g": 147,
    "b": 254
  },
  "hsl": {
    "h": 275.888,
    "s": 98.165,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76562,
    "c": 0.16112,
    "h": 310.6
  },
  "luminance": 0.41872
}

Semantic roles & 50–950 ramp

primary
#D393FE
secondary
#E2F7D4
accent
#E6005C
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D393FE

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

Preview Lab → · Contrast checker → · Palette generator →

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