#D18FF2#D18FF2

#D18FF2 is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.1% C 0.153 H 313.8°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#D18FF2
RGBrgb(209, 143, 242)
HSLhsl(280, 79%, 75%)
HSVhsv(280, 41%, 95%)
CMYKcmyk(13.6%, 40.9%, 0%, 5.1%)
CIE-LABlab(69.19, 42.10, -40.04)
CIE-LCHlch(69.19, 58.10, 316.44°)
OKLaboklab(75.15% 0.106 -0.1107)
OKLCHoklch(75.15% 0.153 313.8)
XYZxyz(52.1414, 39.6122, 88.8864)
Luminance0.3961 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18FF2 #B0F28F
analogous
#9F8FF2 #D18FF2 #F28FE1
triadic
#D18FF2 #F2D18F #8FF2D1
tetradic
#D18FF2 #F29F8F #B0F28F #8FE1F2
square
#D18FF2 #F29F8F #B0F28F #8FE1F2
split-complementary
#D18FF2 #E1F28F #8FF29F
monochromatic
#A421E5 #BA58EC #D18FF2 #E8C6F8 #F4E4FC

Accessibility & contrast

On white

2.35
#D18FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#D18FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18FF2
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18FF2#FFFFFF#000000##000000
##D18FF21.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA5F6
Deuteranopia (green-blind)
#8DABEF
Tritanopia (blue-blind)
#CF9DB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d18ff2;
/* rgb */ color: rgb(209, 143, 242);
/* oklch */ color: oklch(75.1% 0.153 313.8);
Tailwind
colors: {
  custom: {
    50: '#e0b1f6',
    500: '#d18ff2',
    950: '#000000',
  },
}
SCSS
$custom: #d18ff2;
$custom-light: #e0b1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d18ff2",
  "rgb": {
    "r": 209,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 280,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75148,
    "c": 0.15325,
    "h": 313.8
  },
  "luminance": 0.39611
}

Semantic roles & 50–950 ramp

primary
#D18FF2
secondary
#E1F4D7
accent
#DB0A50
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #D18FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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