#D394FC#D394FC

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

Color values

HEX#D394FC
RGBrgb(211, 148, 252)
HSLhsl(276, 95%, 78%)
HSVhsv(276, 41%, 99%)
CMYKcmyk(16.3%, 41.3%, 0%, 1.2%)
CIE-LABlab(70.91, 42.09, -42.79)
CIE-LCHlch(70.91, 60.03, 314.53°)
OKLaboklab(76.63% 0.1031 -0.1186)
OKLCHoklch(76.63% 0.157 311)
XYZxyz(55.0214, 42.0579, 97.2961)
Luminance0.4206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D394FC #BDFC94
analogous
#9F94FC #D394FC #FC94F1
triadic
#D394FC #FCD394 #94FCD3
tetradic
#D394FC #FC9F94 #BDFC94 #94F1FC
square
#D394FC #FC9F94 #BDFC94 #94F1FC
split-complementary
#D394FC #F1FC94 #94FC9F
monochromatic
#A21DF9 #BB58FA #D394FC #EBD0FE #F3E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D394FC#FFFFFF#000000##000000
##D394FC1.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)
#7FAAFF
Deuteranopia (green-blind)
#8EAFF9
Tritanopia (blue-blind)
#CFA3BC
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d394fc;
/* rgb */ color: rgb(211, 148, 252);
/* oklch */ color: oklch(76.6% 0.157 311.0);
Tailwind
colors: {
  custom: {
    50: '#e2b4fd',
    500: '#d394fc',
    950: '#000000',
  },
}
SCSS
$custom: #d394fc;
$custom-light: #e2b4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d394fc",
  "rgb": {
    "r": 211,
    "g": 148,
    "b": 252
  },
  "hsl": {
    "h": 276.346,
    "s": 94.545,
    "l": 78.431
  },
  "oklch": {
    "l": 0.76629,
    "c": 0.15718,
    "h": 311
  },
  "luminance": 0.42057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D394FC

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

Preview Lab → · Contrast checker → · Palette generator →

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