#D18DF6#D18DF6

#D18DF6 is a light, vivid violet. Relative luminance 0.393; OKLCH L 75.0% C 0.161 H 312.8°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#D18DF6
RGBrgb(209, 141, 246)
HSLhsl(279, 85%, 76%)
HSVhsv(279, 43%, 96%)
CMYKcmyk(15%, 42.7%, 0%, 3.5%)
CIE-LABlab(68.94, 44.00, -42.62)
CIE-LCHlch(68.94, 61.26, 315.91°)
OKLaboklab(75.02% 0.1095 -0.1181)
OKLCHoklch(75.02% 0.161 312.8)
XYZxyz(52.4511, 39.2600, 91.9858)
Luminance0.3926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18DF6 #B2F68D
analogous
#9C8DF6 #D18DF6 #F68DE6
triadic
#D18DF6 #F6D18D #8DF6D1
tetradic
#D18DF6 #F69C8D #B2F68D #8DE6F6
square
#D18DF6 #F69C8D #B2F68D #8DE6F6
split-complementary
#D18DF6 #E6F68D #8DF69C
monochromatic
#A31CED #BA54F2 #D18DF6 #E8C6FA #F4E3FD

Accessibility & contrast

On white

2.37
#D18DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#D18DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18DF6
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18DF6#FFFFFF#000000##000000
##D18DF61.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FA
Deuteranopia (green-blind)
#8AAAF3
Tritanopia (blue-blind)
#CE9CB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d18df6;
/* rgb */ color: rgb(209, 141, 246);
/* oklch */ color: oklch(75.0% 0.161 312.8);
Tailwind
colors: {
  custom: {
    50: '#e1aff9',
    500: '#d18df6',
    950: '#000000',
  },
}
SCSS
$custom: #d18df6;
$custom-light: #e1aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#d18df6",
  "rgb": {
    "r": 209,
    "g": 141,
    "b": 246
  },
  "hsl": {
    "h": 278.857,
    "s": 85.366,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75016,
    "c": 0.16107,
    "h": 312.8
  },
  "luminance": 0.39259
}

Semantic roles & 50–950 ramp

primary
#D18DF6
secondary
#E1F5D6
accent
#E20452
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151017
muted
#837F85

Preview Lab

Preview with #D18DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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