#D393FC#D393FC

#D393FC is a light, vivid violet. Relative luminance 0.417; OKLCH L 76.5% C 0.159 H 311.2°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#D393FC
RGBrgb(211, 147, 252)
HSLhsl(277, 95%, 78%)
HSVhsv(277, 42%, 99%)
CMYKcmyk(16.3%, 41.7%, 0%, 1.2%)
CIE-LABlab(70.70, 42.63, -43.13)
CIE-LCHlch(70.70, 60.64, 314.67°)
OKLaboklab(76.47% 0.1045 -0.1196)
OKLCHoklch(76.47% 0.159 311.2)
XYZxyz(54.8653, 41.7455, 97.2440)
Luminance0.4174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D393FC #BCFC93
analogous
#9E93FC #D393FC #FC93F1
triadic
#D393FC #FCD393 #93FCD3
tetradic
#D393FC #FC9E93 #BCFC93 #93F1FC
square
#D393FC #FC9E93 #BCFC93 #93F1FC
split-complementary
#D393FC #F1FC93 #93FC9E
monochromatic
#A21CF9 #BB57FA #D393FC #EBCFFE #F3E1FE

Accessibility & contrast

On white

2.25
#D393FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#D393FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D393FC
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D393FC#FFFFFF#000000##000000
##D393FC1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#8EAEF9
Tritanopia (blue-blind)
#CFA3BC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d393fc;
/* rgb */ color: rgb(211, 147, 252);
/* oklch */ color: oklch(76.5% 0.159 311.2);
Tailwind
colors: {
  custom: {
    50: '#e2b4fd',
    500: '#d393fc',
    950: '#000000',
  },
}
SCSS
$custom: #d393fc;
$custom-light: #e2b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d393fc",
  "rgb": {
    "r": 211,
    "g": 147,
    "b": 252
  },
  "hsl": {
    "h": 276.571,
    "s": 94.595,
    "l": 78.235
  },
  "oklch": {
    "l": 0.76467,
    "c": 0.15883,
    "h": 311.2
  },
  "luminance": 0.41745
}

Semantic roles & 50–950 ramp

primary
#D393FC
secondary
#E2F6D5
accent
#E6005A
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151118
muted
#848086

Preview Lab

Preview with #D393FC

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

Preview Lab → · Contrast checker → · Palette generator →

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