#D38EF8#D38EF8

#D38EF8 is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.5% C 0.163 H 313.0°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#D38EF8
RGBrgb(211, 142, 248)
HSLhsl(279, 88%, 76%)
HSVhsv(279, 43%, 97%)
CMYKcmyk(14.9%, 42.7%, 0%, 2.7%)
CIE-LABlab(69.45, 44.45, -42.90)
CIE-LCHlch(69.45, 61.78, 316.02°)
OKLaboklab(75.48% 0.1108 -0.1189)
OKLCHoklch(75.48% 0.163 313)
XYZxyz(53.4774, 39.9733, 93.6872)
Luminance0.3997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38EF8 #B3F88E
analogous
#9E8EF8 #D38EF8 #F88EE8
triadic
#D38EF8 #F8D38E #8EF8D3
tetradic
#D38EF8 #F89E8E #B3F88E #8EE8F8
square
#D38EF8 #F89E8E #B3F88E #8EE8F8
split-complementary
#D38EF8 #E8F88E #8EF89E
monochromatic
#A61BF1 #BD54F4 #D38EF8 #E9C8FC #F4E2FD

Accessibility & contrast

On white

2.33
#D38EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#D38EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38EF8
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38EF8#FFFFFF#000000##000000
##D38EF81.002.338.998.99
#FFFFFF2.331.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FC
Deuteranopia (green-blind)
#8BABF5
Tritanopia (blue-blind)
#D09DB7
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d38ef8;
/* rgb */ color: rgb(211, 142, 248);
/* oklch */ color: oklch(75.5% 0.163 313.0);
Tailwind
colors: {
  custom: {
    50: '#e2b0fb',
    500: '#d38ef8',
    950: '#000000',
  },
}
SCSS
$custom: #d38ef8;
$custom-light: #e2b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d38ef8",
  "rgb": {
    "r": 211,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 279.057,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.75475,
    "c": 0.1625,
    "h": 313
  },
  "luminance": 0.39972
}

Semantic roles & 50–950 ramp

primary
#D38EF8
secondary
#E1F5D6
accent
#E50150
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #D38EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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