#D18BFA#D18BFA

#D18BFA is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.9% C 0.169 H 312.0°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#D18BFA
RGBrgb(209, 139, 250)
HSLhsl(278, 92%, 76%)
HSVhsv(278, 44%, 98%)
CMYKcmyk(16.4%, 44.4%, 0%, 2%)
CIE-LABlab(68.70, 45.90, -45.19)
CIE-LCHlch(68.70, 64.41, 315.45°)
OKLaboklab(74.89% 0.1129 -0.1255)
OKLCHoklch(74.89% 0.169 312)
XYZxyz(52.7794, 38.9237, 95.1566)
Luminance0.3892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18BFA #B4FA8B
analogous
#9A8BFA #D18BFA #FA8BEC
triadic
#D18BFA #FAD18B #8BFAD1
tetradic
#D18BFA #FA9A8B #B4FA8B #8BECFA
square
#D18BFA #FA9A8B #B4FA8B #8BECFA
split-complementary
#D18BFA #ECFA8B #8BFA9A
monochromatic
#A216F5 #BA50F7 #D18BFA #E8C6FD #F3E2FE

Accessibility & contrast

On white

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

On black

8.78
#D18BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18BFA
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18BFA#FFFFFF#000000##000000
##D18BFA1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#86A9F7
Tritanopia (blue-blind)
#CD9CB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d18bfa;
/* rgb */ color: rgb(209, 139, 250);
/* oklch */ color: oklch(74.9% 0.169 312.0);
Tailwind
colors: {
  custom: {
    50: '#e1aefc',
    500: '#d18bfa',
    950: '#000000',
  },
}
SCSS
$custom: #d18bfa;
$custom-light: #e1aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#d18bfa",
  "rgb": {
    "r": 209,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 277.838,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74892,
    "c": 0.16885,
    "h": 312
  },
  "luminance": 0.38923
}

Semantic roles & 50–950 ramp

primary
#D18BFA
secondary
#E1F6D5
accent
#E60055
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#151017
muted
#847F85

Preview Lab

Preview with #D18BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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