#D18FF8#D18FF8

#D18FF8 is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.4% C 0.160 H 312.0°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#D18FF8
RGBrgb(209, 143, 248)
HSLhsl(278, 88%, 77%)
HSVhsv(278, 42%, 97%)
CMYKcmyk(15.7%, 42.3%, 0%, 2.7%)
CIE-LABlab(69.45, 43.35, -42.91)
CIE-LCHlch(69.45, 61.00, 315.30°)
OKLaboklab(75.43% 0.1071 -0.119)
OKLCHoklch(75.43% 0.16 312)
XYZxyz(53.0573, 39.9785, 93.7103)
Luminance0.3998 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18FF8 #B6F88F
analogous
#9D8FF8 #D18FF8 #F88FEB
triadic
#D18FF8 #F8D18F #8FF8D1
tetradic
#D18FF8 #F89D8F #B6F88F #8FEBF8
square
#D18FF8 #F89D8F #B6F88F #8FEBF8
split-complementary
#D18FF8 #EBF88F #8FF89D
monochromatic
#A21CF1 #B955F4 #D18FF8 #E9C9FC #F3E2FD

Accessibility & contrast

On white

2.33
#D18FF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#D18FF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18FF8
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18FF8#FFFFFF#000000##000000
##D18FF81.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#8BABF5
Tritanopia (blue-blind)
#CD9EB8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d18ff8;
/* rgb */ color: rgb(209, 143, 248);
/* oklch */ color: oklch(75.4% 0.160 312.0);
Tailwind
colors: {
  custom: {
    50: '#e1b1fb',
    500: '#d18ff8',
    950: '#000000',
  },
}
SCSS
$custom: #d18ff8;
$custom-light: #e1b1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d18ff8",
  "rgb": {
    "r": 209,
    "g": 143,
    "b": 248
  },
  "hsl": {
    "h": 277.714,
    "s": 88.235,
    "l": 76.667
  },
  "oklch": {
    "l": 0.75431,
    "c": 0.16005,
    "h": 312
  },
  "luminance": 0.39978
}

Semantic roles & 50–950 ramp

primary
#D18FF8
secondary
#E1F5D6
accent
#E50155
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #D18FF8

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

Preview Lab → · Contrast checker → · Palette generator →

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