#D18EF4#D18EF4

#D18EF4 is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.1% C 0.157 H 313.3°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#D18EF4
RGBrgb(209, 142, 244)
HSLhsl(279, 82%, 76%)
HSVhsv(279, 42%, 96%)
CMYKcmyk(14.3%, 41.8%, 0%, 4.3%)
CIE-LABlab(69.06, 43.05, -41.33)
CIE-LCHlch(69.06, 59.68, 316.17°)
OKLaboklab(75.08% 0.1078 -0.1144)
OKLCHoklch(75.08% 0.157 313.3)
XYZxyz(52.2939, 39.4341, 90.4272)
Luminance0.3943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D18EF4 #B1F48E
analogous
#9E8EF4 #D18EF4 #F48EE4
triadic
#D18EF4 #F4D18E #8EF4D1
tetradic
#D18EF4 #F49E8E #B1F48E #8EE4F4
square
#D18EF4 #F49E8E #B1F48E #8EE4F4
split-complementary
#D18EF4 #E4F48E #8EF49E
monochromatic
#A41EE9 #BA56EF #D18EF4 #E8C6F9 #F4E3FC

Accessibility & contrast

On white

2.36
#D18EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#D18EF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D18EF4
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D18EF4#FFFFFF#000000##000000
##D18EF41.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA5F8
Deuteranopia (green-blind)
#8CAAF1
Tritanopia (blue-blind)
#CE9DB6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d18ef4;
/* rgb */ color: rgb(209, 142, 244);
/* oklch */ color: oklch(75.1% 0.157 313.3);
Tailwind
colors: {
  custom: {
    50: '#e1b0f8',
    500: '#d18ef4',
    950: '#000000',
  },
}
SCSS
$custom: #d18ef4;
$custom-light: #e1b0f8;
$custom-dark: #000000;
JSON
{
  "hex": "#d18ef4",
  "rgb": {
    "r": 209,
    "g": 142,
    "b": 244
  },
  "hsl": {
    "h": 279.412,
    "s": 82.258,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75081,
    "c": 0.15717,
    "h": 313.3
  },
  "luminance": 0.39433
}

Semantic roles & 50–950 ramp

primary
#D18EF4
secondary
#E1F4D7
accent
#DF0751
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #D18EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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