#D18CFA#D18CFA

#D18CFA is a light, vivid violet. Relative luminance 0.392; OKLCH L 75.0% C 0.167 H 311.8°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#D18CFA
RGBrgb(209, 140, 250)
HSLhsl(278, 92%, 76%)
HSVhsv(278, 44%, 98%)
CMYKcmyk(16.4%, 44%, 0%, 2%)
CIE-LABlab(68.91, 45.37, -44.86)
CIE-LCHlch(68.91, 63.80, 315.33°)
OKLaboklab(75.05% 0.1115 -0.1246)
OKLCHoklch(75.05% 0.167 311.8)
XYZxyz(52.9249, 39.2146, 95.2051)
Luminance0.3921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18CFA #B5FA8C
analogous
#9A8CFA #D18CFA #FA8CEC
triadic
#D18CFA #FAD18C #8CFAD1
tetradic
#D18CFA #FA9A8C #B5FA8C #8CECFA
square
#D18CFA #FA9A8C #B5FA8C #8CECFA
split-complementary
#D18CFA #ECFA8C #8CFA9A
monochromatic
#A217F5 #BA51F7 #D18CFA #E8C7FD #F3E2FE

Accessibility & contrast

On white

2.37
#D18CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D18CFA#FFFFFF#000000##000000
##D18CFA1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A5FE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#CD9DB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d18cfa;
/* rgb */ color: rgb(209, 140, 250);
/* oklch */ color: oklch(75.0% 0.167 311.8);
Tailwind
colors: {
  custom: {
    50: '#e1affc',
    500: '#d18cfa',
    950: '#000000',
  },
}
SCSS
$custom: #d18cfa;
$custom-light: #e1affc;
$custom-dark: #000000;
JSON
{
  "hex": "#d18cfa",
  "rgb": {
    "r": 209,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 277.636,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7505,
    "c": 0.16722,
    "h": 311.8
  },
  "luminance": 0.39214
}

Semantic roles & 50–950 ramp

primary
#D18CFA
secondary
#E1F6D5
accent
#E60056
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151017
muted
#847F85

Preview Lab

Preview with #D18CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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