#D392FB#D392FB

#D392FB is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.3% C 0.159 H 311.6°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#D392FB
RGBrgb(211, 146, 251)
HSLhsl(277, 93%, 78%)
HSVhsv(277, 42%, 98%)
CMYKcmyk(15.9%, 41.8%, 0%, 1.6%)
CIE-LABlab(70.44, 42.95, -42.99)
CIE-LCHlch(70.44, 60.77, 314.98°)
OKLaboklab(76.26% 0.1057 -0.1192)
OKLCHoklch(76.26% 0.159 311.6)
XYZxyz(54.5524, 41.3727, 96.3600)
Luminance0.4137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D392FB #BAFB92
analogous
#9E92FB #D392FB #FB92EE
triadic
#D392FB #FBD392 #92FBD3
tetradic
#D392FB #FB9E92 #BAFB92 #92EEFB
square
#D392FB #FB9E92 #BAFB92 #92EEFB
split-complementary
#D392FB #EEFB92 #92FB9E
monochromatic
#A31CF7 #BB57F9 #D392FB #EBCDFD #F3E1FE

Accessibility & contrast

On white

2.26
#D392FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#D392FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D392FB
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D392FB#FFFFFF#000000##000000
##D392FB1.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#8DAEF8
Tritanopia (blue-blind)
#CFA2BB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d392fb;
/* rgb */ color: rgb(211, 146, 251);
/* oklch */ color: oklch(76.3% 0.159 311.6);
Tailwind
colors: {
  custom: {
    50: '#e2b3fd',
    500: '#d392fb',
    950: '#000000',
  },
}
SCSS
$custom: #d392fb;
$custom-light: #e2b3fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d392fb",
  "rgb": {
    "r": 211,
    "g": 146,
    "b": 251
  },
  "hsl": {
    "h": 277.143,
    "s": 92.92,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76258,
    "c": 0.15933,
    "h": 311.6
  },
  "luminance": 0.41372
}

Semantic roles & 50–950 ramp

primary
#D392FB
secondary
#E2F6D5
accent
#E60057
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#151117
muted
#848085

Preview Lab

Preview with #D392FB

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

Preview Lab → · Contrast checker → · Palette generator →

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