#D38DFD#D38DFD

#D38DFD is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.6% C 0.170 H 311.7°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#D38DFD
RGBrgb(211, 141, 253)
HSLhsl(278, 97%, 77%)
HSVhsv(278, 44%, 99%)
CMYKcmyk(16.6%, 44.3%, 0%, 0.8%)
CIE-LABlab(69.46, 46.03, -45.60)
CIE-LCHlch(69.46, 64.80, 315.27°)
OKLaboklab(75.56% 0.113 -0.1267)
OKLCHoklch(75.56% 0.17 311.7)
XYZxyz(54.1154, 39.9915, 97.7778)
Luminance0.3999 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38DFD #B7FD8D
analogous
#9B8DFD #D38DFD #FD8DEF
triadic
#D38DFD #FDD38D #8DFDD3
tetradic
#D38DFD #FD9B8D #B7FD8D #8DEFFD
square
#D38DFD #FD9B8D #B7FD8D #8DEFFD
split-complementary
#D38DFD #EFFD8D #8DFD9B
monochromatic
#A515FB #BC51FC #D38DFD #EAC9FE #F3E1FE

Accessibility & contrast

On white

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

On black

9.00
#D38DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38DFD
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38DFD#FFFFFF#000000##000000
##D38DFD1.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#88ABFA
Tritanopia (blue-blind)
#CF9EB9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d38dfd;
/* rgb */ color: rgb(211, 141, 253);
/* oklch */ color: oklch(75.6% 0.170 311.7);
Tailwind
colors: {
  custom: {
    50: '#e2b0fe',
    500: '#d38dfd',
    950: '#000000',
  },
}
SCSS
$custom: #d38dfd;
$custom-light: #e2b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d38dfd",
  "rgb": {
    "r": 211,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 277.5,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75558,
    "c": 0.16974,
    "h": 311.7
  },
  "luminance": 0.3999
}

Semantic roles & 50–950 ramp

primary
#D38DFD
secondary
#E1F7D4
accent
#E60056
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161018
muted
#847F86

Preview Lab

Preview with #D38DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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