#D18FEB#D18FEB

#D18FEB is a light, vivid purple. Relative luminance 0.392; OKLCH L 74.8% C 0.145 H 316.0°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#D18FEB
RGBrgb(209, 143, 235)
HSLhsl(283, 70%, 74%)
HSVhsv(283, 39%, 92%)
CMYKcmyk(11.1%, 39.1%, 0%, 7.8%)
CIE-LABlab(68.90, 40.66, -36.66)
CIE-LCHlch(68.90, 54.75, 317.96°)
OKLaboklab(74.83% 0.1046 -0.101)
OKLCHoklch(74.83% 0.145 316)
XYZxyz(51.1101, 39.1996, 83.4551)
Luminance0.3920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18FEB #A9EB8F
analogous
#A38FEB #D18FEB #EB8FD7
triadic
#D18FEB #EBD18F #8FEBD1
tetradic
#D18FEB #EBA38F #A9EB8F #8FD7EB
square
#D18FEB #EBA38F #A9EB8F #8FD7EB
split-complementary
#D18FEB #D7EB8F #8FEBA3
monochromatic
#A627D8 #BC5BE2 #D18FEB #E6C3F4 #F4E5FA

Accessibility & contrast

On white

2.38
#D18FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#D18FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18FEB
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18FEB#FFFFFF#000000##000000
##D18FEB1.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EE
Deuteranopia (green-blind)
#91AAE8
Tritanopia (blue-blind)
#D09BB2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d18feb;
/* rgb */ color: rgb(209, 143, 235);
/* oklch */ color: oklch(74.8% 0.145 316.0);
Tailwind
colors: {
  custom: {
    50: '#e0b1f1',
    500: '#d18feb',
    950: '#000000',
  },
}
SCSS
$custom: #d18feb;
$custom-light: #e0b1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d18feb",
  "rgb": {
    "r": 209,
    "g": 143,
    "b": 235
  },
  "hsl": {
    "h": 283.043,
    "s": 69.697,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74828,
    "c": 0.14542,
    "h": 316
  },
  "luminance": 0.39198
}

Semantic roles & 50–950 ramp

primary
#D18FEB
secondary
#E0F2D9
accent
#D21449
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #D18FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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