#D49FF2#D49FF2

#D49FF2 is a light, vivid violet. Relative luminance 0.452; OKLCH L 78.1% C 0.128 H 312.8°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#D49FF2
RGBrgb(212, 159, 242)
HSLhsl(278, 76%, 79%)
HSVhsv(278, 34%, 95%)
CMYKcmyk(12.4%, 34.3%, 0%, 5.1%)
CIE-LABlab(73.03, 34.36, -34.05)
CIE-LCHlch(73.03, 48.38, 315.26°)
OKLaboklab(78.11% 0.0867 -0.0936)
OKLCHoklch(78.11% 0.128 312.8)
XYZxyz(55.5739, 45.2051, 89.7850)
Luminance0.4520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D49FF2 #BDF29F
analogous
#AA9FF2 #D49FF2 #F29FE6
triadic
#D49FF2 #F2D49F #9FF2D4
tetradic
#D49FF2 #F2AA9F #BDF29F #9FE6F2
square
#D49FF2 #F2AA9F #BDF29F #9FE6F2
split-complementary
#D49FF2 #E6F29F #9FF2AA
monochromatic
#A433E3 #BC69EB #D49FF2 #ECD5F9 #F3E4FB

Accessibility & contrast

On white

2.09
#D49FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#D49FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D49FF2
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D49FF2#FFFFFF#000000##000000
##D49FF21.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d49ff2;
/* rgb */ color: rgb(212, 159, 242);
/* oklch */ color: oklch(78.1% 0.128 312.8);
Tailwind
colors: {
  custom: {
    50: '#e2bcf6',
    500: '#d49ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d49ff2;
$custom-light: #e2bcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d49ff2",
  "rgb": {
    "r": 212,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 278.313,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.78115,
    "c": 0.12756,
    "h": 312.8
  },
  "luminance": 0.45204
}

Semantic roles & 50–950 ramp

primary
#D49FF2
secondary
#E2F3D8
accent
#D80D57
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151217
muted
#838185

Preview Lab

Preview with #D49FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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