#D18FF7#D18FF7

#D18FF7 is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.4% C 0.159 H 312.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#D18FF7
RGBrgb(209, 143, 247)
HSLhsl(278, 87%, 76%)
HSVhsv(278, 42%, 97%)
CMYKcmyk(15.4%, 42.1%, 0%, 3.1%)
CIE-LABlab(69.41, 43.14, -42.43)
CIE-LCHlch(69.41, 60.51, 315.48°)
OKLaboklab(75.38% 0.1069 -0.1176)
OKLCHoklch(75.38% 0.159 312.3)
XYZxyz(52.9026, 39.9166, 92.8955)
Luminance0.3992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18FF7 #B5F78F
analogous
#9D8FF7 #D18FF7 #F78FE9
triadic
#D18FF7 #F7D18F #8FF7D1
tetradic
#D18FF7 #F79D8F #B5F78F #8FE9F7
square
#D18FF7 #F79D8F #B5F78F #8FE9F7
split-complementary
#D18FF7 #E9F78F #8FF79D
monochromatic
#A21DEF #BA56F3 #D18FF7 #E8C8FB #F3E2FD

Accessibility & contrast

On white

2.34
#D18FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#D18FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18FF7
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18FF7#FFFFFF#000000##000000
##D18FF71.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FB
Deuteranopia (green-blind)
#8BABF4
Tritanopia (blue-blind)
#CD9EB7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d18ff7;
/* rgb */ color: rgb(209, 143, 247);
/* oklch */ color: oklch(75.4% 0.159 312.3);
Tailwind
colors: {
  custom: {
    50: '#e1b1fa',
    500: '#d18ff7',
    950: '#000000',
  },
}
SCSS
$custom: #d18ff7;
$custom-light: #e1b1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d18ff7",
  "rgb": {
    "r": 209,
    "g": 143,
    "b": 247
  },
  "hsl": {
    "h": 278.077,
    "s": 86.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75383,
    "c": 0.15891,
    "h": 312.3
  },
  "luminance": 0.39916
}

Semantic roles & 50–950 ramp

primary
#D18FF7
secondary
#E1F5D6
accent
#E30254
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D18FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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