#D392FC#D392FC

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

Color values

HEX#D392FC
RGBrgb(211, 146, 252)
HSLhsl(277, 95%, 78%)
HSVhsv(277, 42%, 99%)
CMYKcmyk(16.3%, 42.1%, 0%, 1.2%)
CIE-LABlab(70.48, 43.16, -43.47)
CIE-LCHlch(70.48, 61.26, 314.80°)
OKLaboklab(76.31% 0.1059 -0.1205)
OKLCHoklch(76.31% 0.16 311.3)
XYZxyz(54.7104, 41.4359, 97.1924)
Luminance0.4143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D392FC #BBFC92
analogous
#9E92FC #D392FC #FC92F0
triadic
#D392FC #FCD392 #92FCD3
tetradic
#D392FC #FC9E92 #BBFC92 #92F0FC
square
#D392FC #FC9E92 #BBFC92 #92F0FC
split-complementary
#D392FC #F0FC92 #92FC9E
monochromatic
#A31BF9 #BB56FA #D392FC #EBCEFE #F3E1FE

Accessibility & contrast

On white

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

On black

9.29
#D392FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D392FC
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D392FC#FFFFFF#000000##000000
##D392FC1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d392fc;
/* rgb */ color: rgb(211, 146, 252);
/* oklch */ color: oklch(76.3% 0.160 311.3);
Tailwind
colors: {
  custom: {
    50: '#e2b3fe',
    500: '#d392fc',
    950: '#000000',
  },
}
SCSS
$custom: #d392fc;
$custom-light: #e2b3fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d392fc",
  "rgb": {
    "r": 211,
    "g": 146,
    "b": 252
  },
  "hsl": {
    "h": 276.792,
    "s": 94.643,
    "l": 78.039
  },
  "oklch": {
    "l": 0.76306,
    "c": 0.16047,
    "h": 311.3
  },
  "luminance": 0.41435
}

Semantic roles & 50–950 ramp

primary
#D392FC
secondary
#E2F6D5
accent
#E60059
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D392FC

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

Preview Lab → · Contrast checker → · Palette generator →

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