#D18EF3#D18EF3

#D18EF3 is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.0% C 0.156 H 313.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#D18EF3
RGBrgb(209, 142, 243)
HSLhsl(280, 81%, 75%)
HSVhsv(280, 42%, 95%)
CMYKcmyk(14%, 41.6%, 0%, 4.7%)
CIE-LABlab(69.02, 42.84, -40.85)
CIE-LCHlch(69.02, 59.20, 316.36°)
OKLaboklab(75.03% 0.1076 -0.113)
OKLCHoklch(75.03% 0.156 313.6)
XYZxyz(52.1425, 39.3735, 89.6297)
Luminance0.3937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18EF3 #B0F38E
analogous
#9E8EF3 #D18EF3 #F38EE2
triadic
#D18EF3 #F3D18E #8EF3D1
tetradic
#D18EF3 #F39E8E #B0F38E #8EE2F3
square
#D18EF3 #F39E8E #B0F38E #8EE2F3
split-complementary
#D18EF3 #E2F38E #8EF39E
monochromatic
#A41FE7 #BA57ED #D18EF3 #E8C5F9 #F4E3FC

Accessibility & contrast

On white

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

On black

8.87
#D18EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18EF3
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18EF3#FFFFFF#000000##000000
##D18EF31.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA5F7
Deuteranopia (green-blind)
#8CAAF0
Tritanopia (blue-blind)
#CE9CB5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d18ef3;
/* rgb */ color: rgb(209, 142, 243);
/* oklch */ color: oklch(75.0% 0.156 313.6);
Tailwind
colors: {
  custom: {
    50: '#e0b0f7',
    500: '#d18ef3',
    950: '#000000',
  },
}
SCSS
$custom: #d18ef3;
$custom-light: #e0b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d18ef3",
  "rgb": {
    "r": 209,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 279.802,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75034,
    "c": 0.15604,
    "h": 313.6
  },
  "luminance": 0.39372
}

Semantic roles & 50–950 ramp

primary
#D18EF3
secondary
#E1F4D7
accent
#DD0850
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #D18EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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