#D38EFE#D38EFE

#D38EFE is a light, vivid violet. Relative luminance 0.404; OKLCH L 75.8% C 0.169 H 311.3°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#D38EFE
RGBrgb(211, 142, 254)
HSLhsl(277, 98%, 78%)
HSVhsv(277, 44%, 100%)
CMYKcmyk(16.9%, 44.1%, 0%, 0.4%)
CIE-LABlab(69.72, 45.72, -45.75)
CIE-LCHlch(69.72, 64.67, 314.98°)
OKLaboklab(75.77% 0.1118 -0.1271)
OKLCHoklch(75.77% 0.169 311.3)
XYZxyz(54.4232, 40.3516, 98.6684)
Luminance0.4035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38EFE #B9FE8E
analogous
#9B8EFE #D38EFE #FE8EF1
triadic
#D38EFE #FED38E #8EFED3
tetradic
#D38EFE #FE9B8E #B9FE8E #8EF1FE
square
#D38EFE #FE9B8E #B9FE8E #8EF1FE
split-complementary
#D38EFE #F1FE8E #8EFE9B
monochromatic
#A415FD #BB51FD #D38EFE #EBCBFF #F3E1FF

Accessibility & contrast

On white

2.32
#D38EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#D38EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38EFE
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38EFE#FFFFFF#000000##000000
##D38EFE1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#88ACFB
Tritanopia (blue-blind)
#CE9FBA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d38efe;
/* rgb */ color: rgb(211, 142, 254);
/* oklch */ color: oklch(75.8% 0.169 311.3);
Tailwind
colors: {
  custom: {
    50: '#e2b0ff',
    500: '#d38efe',
    950: '#000000',
  },
}
SCSS
$custom: #d38efe;
$custom-light: #e2b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d38efe",
  "rgb": {
    "r": 211,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 276.964,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75765,
    "c": 0.16926,
    "h": 311.3
  },
  "luminance": 0.40351
}

Semantic roles & 50–950 ramp

primary
#D38EFE
secondary
#E1F7D4
accent
#E60058
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #D38EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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