#D18BF2#D18BF2

#D18BF2 is a light, vivid purple. Relative luminance 0.384; OKLCH L 74.5% C 0.160 H 314.3°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#D18BF2
RGBrgb(209, 139, 242)
HSLhsl(281, 80%, 75%)
HSVhsv(281, 43%, 95%)
CMYKcmyk(13.6%, 42.6%, 0%, 5.1%)
CIE-LABlab(68.34, 44.23, -41.37)
CIE-LCHlch(68.34, 60.57, 316.92°)
OKLaboklab(74.51% 0.1116 -0.1145)
OKLCHoklch(74.51% 0.16 314.3)
XYZxyz(51.5516, 38.4325, 88.6898)
Luminance0.3843 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18BF2 #ACF28B
analogous
#9E8BF2 #D18BF2 #F28BDF
triadic
#D18BF2 #F2D18B #8BF2D1
tetradic
#D18BF2 #F29E8B #ACF28B #8BDFF2
square
#D18BF2 #F29E8B #ACF28B #8BDFF2
split-complementary
#D18BF2 #DFF28B #8BF29E
monochromatic
#A51DE6 #BB54EC #D18BF2 #E7C2F8 #F4E3FC

Accessibility & contrast

On white

2.42
#D18BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#D18BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18BF2
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18BF2#FFFFFF#000000##000000
##D18BF21.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F6
Deuteranopia (green-blind)
#8AA9EF
Tritanopia (blue-blind)
#CF9AB3
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d18bf2;
/* rgb */ color: rgb(209, 139, 242);
/* oklch */ color: oklch(74.5% 0.160 314.3);
Tailwind
colors: {
  custom: {
    50: '#e1aef6',
    500: '#d18bf2',
    950: '#000000',
  },
}
SCSS
$custom: #d18bf2;
$custom-light: #e1aef6;
$custom-dark: #000000;
JSON
{
  "hex": "#d18bf2",
  "rgb": {
    "r": 209,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 280.777,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.74507,
    "c": 0.1599,
    "h": 314.3
  },
  "luminance": 0.38431
}

Semantic roles & 50–950 ramp

primary
#D18BF2
secondary
#E0F4D7
accent
#DC094D
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #D18BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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