#D39FF2#D39FF2

#D39FF2 is a light, vivid violet. Relative luminance 0.451; OKLCH L 78.0% C 0.127 H 312.3°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#D39FF2
RGBrgb(211, 159, 242)
HSLhsl(278, 76%, 79%)
HSVhsv(278, 34%, 95%)
CMYKcmyk(12.8%, 34.3%, 0%, 5.1%)
CIE-LABlab(72.93, 34.06, -34.21)
CIE-LCHlch(72.93, 48.28, 314.87°)
OKLaboklab(78.02% 0.0855 -0.0941)
OKLCHoklch(78.02% 0.127 312.3)
XYZxyz(55.2864, 45.0568, 89.7716)
Luminance0.4506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D39FF2 #BEF29F
analogous
#A99FF2 #D39FF2 #F29FE8
triadic
#D39FF2 #F2D39F #9FF2D3
tetradic
#D39FF2 #F2A99F #BEF29F #9FE8F2
square
#D39FF2 #F2A99F #BEF29F #9FE8F2
split-complementary
#D39FF2 #E8F29F #9FF2A9
monochromatic
#A233E3 #BA69EB #D39FF2 #ECD5F9 #F3E4FB

Accessibility & contrast

On white

2.10
#D39FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#D39FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D39FF2
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D39FF2#FFFFFF#000000##000000
##D39FF21.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B0F5
Deuteranopia (green-blind)
#9DB4F0
Tritanopia (blue-blind)
#D0AABE
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #d39ff2;
/* rgb */ color: rgb(211, 159, 242);
/* oklch */ color: oklch(78.0% 0.127 312.3);
Tailwind
colors: {
  custom: {
    50: '#e1bcf6',
    500: '#d39ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d39ff2;
$custom-light: #e1bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d39ff2",
  "rgb": {
    "r": 211,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 277.59,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78019,
    "c": 0.12713,
    "h": 312.3
  },
  "luminance": 0.45056
}

Semantic roles & 50–950 ramp

primary
#D39FF2
secondary
#E2F3D8
accent
#D80D59
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #D39FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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