#D18BEF#D18BEF

#D18BEF is a light, vivid purple. Relative luminance 0.383; OKLCH L 74.4% C 0.157 H 315.2°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#D18BEF
RGBrgb(209, 139, 239)
HSLhsl(282, 76%, 74%)
HSVhsv(282, 42%, 94%)
CMYKcmyk(12.6%, 41.8%, 0%, 6.3%)
CIE-LABlab(68.21, 43.62, -39.93)
CIE-LCHlch(68.21, 59.13, 317.53°)
OKLaboklab(74.37% 0.1111 -0.1104)
OKLCHoklch(74.37% 0.157 315.2)
XYZxyz(51.1047, 38.2538, 86.3362)
Luminance0.3825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18BEF #A9EF8B
analogous
#9F8BEF #D18BEF #EF8BDB
triadic
#D18BEF #EFD18B #8BEFD1
tetradic
#D18BEF #EF9F8B #A9EF8B #8BDBEF
square
#D18BEF #EF9F8B #A9EF8B #8BDBEF
split-complementary
#D18BEF #DBEF8B #8BEF9F
monochromatic
#A61FE0 #BC55E8 #D18BEF #E6C1F6 #F4E4FB

Accessibility & contrast

On white

2.43
#D18BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#D18BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18BEF
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18BEF#FFFFFF#000000##000000
##D18BEF1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A2F3
Deuteranopia (green-blind)
#8BA8EC
Tritanopia (blue-blind)
#CF99B2
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d18bef;
/* rgb */ color: rgb(209, 139, 239);
/* oklch */ color: oklch(74.4% 0.157 315.2);
Tailwind
colors: {
  custom: {
    50: '#e0aef4',
    500: '#d18bef',
    950: '#000000',
  },
}
SCSS
$custom: #d18bef;
$custom-light: #e0aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#d18bef",
  "rgb": {
    "r": 209,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 282,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74366,
    "c": 0.15658,
    "h": 315.2
  },
  "luminance": 0.38253
}

Semantic roles & 50–950 ramp

primary
#D18BEF
secondary
#E0F3D8
accent
#D80E4A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #D18BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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