#D18AFF#D18AFF

#D18AFF is a light, vivid violet. Relative luminance 0.390; OKLCH L 75.0% C 0.176 H 310.8°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#D18AFF
RGBrgb(209, 138, 255)
HSLhsl(276, 100%, 77%)
HSVhsv(276, 46%, 100%)
CMYKcmyk(18%, 45.9%, 0%, 0%)
CIE-LABlab(68.72, 47.49, -47.88)
CIE-LCHlch(68.72, 67.44, 314.77°)
OKLaboklab(74.98% 0.115 -0.1333)
OKLCHoklch(74.98% 0.176 310.8)
XYZxyz(53.4297, 38.9532, 99.2924)
Luminance0.3895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18AFF #B8FF8A
analogous
#978AFF #D18AFF #FF8AF3
triadic
#D18AFF #FFD18A #8AFFD1
tetradic
#D18AFF #FF978A #B8FF8A #8AF3FF
square
#D18AFF #FF978A #B8FF8A #8AF3FF
split-complementary
#D18AFF #F3FF8A #8AFF97
monochromatic
#A110FF #B94DFF #D18AFF #E9C7FF #F3E0FF

Accessibility & contrast

On white

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

On black

8.79
#D18AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18AFF
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18AFF#FFFFFF#000000##000000
##D18AFF1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA4FF
Deuteranopia (green-blind)
#82A9FC
Tritanopia (blue-blind)
#CC9CB9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d18aff;
/* rgb */ color: rgb(209, 138, 255);
/* oklch */ color: oklch(75.0% 0.176 310.8);
Tailwind
colors: {
  custom: {
    50: '#e1aeff',
    500: '#d18aff',
    950: '#000000',
  },
}
SCSS
$custom: #d18aff;
$custom-light: #e1aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#d18aff",
  "rgb": {
    "r": 209,
    "g": 138,
    "b": 255
  },
  "hsl": {
    "h": 276.41,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.74983,
    "c": 0.17607,
    "h": 310.8
  },
  "luminance": 0.38952
}

Semantic roles & 50–950 ramp

primary
#D18AFF
secondary
#E2F7D4
accent
#E6005A
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151018
muted
#847F86

Preview Lab

Preview with #D18AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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