#D18BF9#D18BF9

#D18BF9 is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.8% C 0.168 H 312.2°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#D18BF9
RGBrgb(209, 139, 249)
HSLhsl(278, 90%, 76%)
HSVhsv(278, 44%, 98%)
CMYKcmyk(16.1%, 44.2%, 0%, 2.4%)
CIE-LABlab(68.65, 45.69, -44.71)
CIE-LCHlch(68.65, 63.93, 315.62°)
OKLaboklab(74.84% 0.1128 -0.1242)
OKLCHoklch(74.84% 0.168 312.2)
XYZxyz(52.6231, 38.8611, 94.3330)
Luminance0.3886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18BF9 #B3F98B
analogous
#9A8BF9 #D18BF9 #F98BEA
triadic
#D18BF9 #F9D18B #8BF9D1
tetradic
#D18BF9 #F99A8B #B3F98B #8BEAF9
square
#D18BF9 #F99A8B #B3F98B #8BEAF9
split-complementary
#D18BF9 #EAF98B #8BF99A
monochromatic
#A317F3 #BA51F6 #D18BF9 #E8C5FC #F3E2FD

Accessibility & contrast

On white

2.39
#D18BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#D18BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18BF9
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18BF9#FFFFFF#000000##000000
##D18BF91.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FD
Deuteranopia (green-blind)
#87A9F6
Tritanopia (blue-blind)
#CD9CB6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d18bf9;
/* rgb */ color: rgb(209, 139, 249);
/* oklch */ color: oklch(74.8% 0.168 312.2);
Tailwind
colors: {
  custom: {
    50: '#e1aefb',
    500: '#d18bf9',
    950: '#000000',
  },
}
SCSS
$custom: #d18bf9;
$custom-light: #e1aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#d18bf9",
  "rgb": {
    "r": 209,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 278.182,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74843,
    "c": 0.16772,
    "h": 312.2
  },
  "luminance": 0.3886
}

Semantic roles & 50–950 ramp

primary
#D18BF9
secondary
#E1F6D5
accent
#E60053
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #D18BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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