#D18BF8#D18BF8

#D18BF8 is a light, vivid violet. Relative luminance 0.388; OKLCH L 74.8% C 0.167 H 312.5°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#D18BF8
RGBrgb(209, 139, 248)
HSLhsl(279, 89%, 76%)
HSVhsv(279, 44%, 97%)
CMYKcmyk(15.7%, 44%, 0%, 2.7%)
CIE-LABlab(68.61, 45.48, -44.24)
CIE-LCHlch(68.61, 63.45, 315.80°)
OKLaboklab(74.8% 0.1126 -0.1228)
OKLCHoklch(74.8% 0.167 312.5)
XYZxyz(52.4675, 38.7989, 93.5137)
Luminance0.3880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18BF8 #B2F88B
analogous
#9A8BF8 #D18BF8 #F88BE8
triadic
#D18BF8 #F8D18B #8BF8D1
tetradic
#D18BF8 #F89A8B #B2F88B #8BE8F8
square
#D18BF8 #F89A8B #B2F88B #8BE8F8
split-complementary
#D18BF8 #E8F88B #8BF89A
monochromatic
#A318F1 #BA51F5 #D18BF8 #E8C5FB #F4E2FD

Accessibility & contrast

On white

2.40
#D18BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#D18BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18BF8
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18BF8#FFFFFF#000000##000000
##D18BF81.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FC
Deuteranopia (green-blind)
#87A9F5
Tritanopia (blue-blind)
#CD9BB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d18bf8;
/* rgb */ color: rgb(209, 139, 248);
/* oklch */ color: oklch(74.8% 0.167 312.5);
Tailwind
colors: {
  custom: {
    50: '#e1aefb',
    500: '#d18bf8',
    950: '#000000',
  },
}
SCSS
$custom: #d18bf8;
$custom-light: #e1aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#d18bf8",
  "rgb": {
    "r": 209,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 278.532,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74795,
    "c": 0.16659,
    "h": 312.5
  },
  "luminance": 0.38798
}

Semantic roles & 50–950 ramp

primary
#D18BF8
secondary
#E1F5D6
accent
#E50052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #D18BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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