#D38DFE#D38DFE

#D38DFE is a light, vivid violet. Relative luminance 0.401; OKLCH L 75.6% C 0.171 H 311.5°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#D38DFE
RGBrgb(211, 141, 254)
HSLhsl(277, 98%, 77%)
HSVhsv(277, 44%, 100%)
CMYKcmyk(16.9%, 44.5%, 0%, 0.4%)
CIE-LABlab(69.51, 46.24, -46.08)
CIE-LCHlch(69.51, 65.28, 315.10°)
OKLaboklab(75.61% 0.1131 -0.1281)
OKLCHoklch(75.61% 0.171 311.5)
XYZxyz(54.2751, 40.0554, 98.6190)
Luminance0.4005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38DFE #B8FE8D
analogous
#9A8DFE #D38DFE #FE8DF1
triadic
#D38DFE #FED38D #8DFED3
tetradic
#D38DFE #FE9A8D #B8FE8D #8DF1FE
square
#D38DFE #FE9A8D #B8FE8D #8DF1FE
split-complementary
#D38DFE #F1FE8D #8DFE9A
monochromatic
#A414FD #BC50FD #D38DFE #EACAFF #F3E1FF

Accessibility & contrast

On white

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

On black

9.01
#D38DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38DFE
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38DFE#FFFFFF#000000##000000
##D38DFE1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A6FF
Deuteranopia (green-blind)
#87ABFB
Tritanopia (blue-blind)
#CE9EBA
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d38dfe;
/* rgb */ color: rgb(211, 141, 254);
/* oklch */ color: oklch(75.6% 0.171 311.5);
Tailwind
colors: {
  custom: {
    50: '#e2b0ff',
    500: '#d38dfe',
    950: '#000000',
  },
}
SCSS
$custom: #d38dfe;
$custom-light: #e2b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d38dfe",
  "rgb": {
    "r": 211,
    "g": 141,
    "b": 254
  },
  "hsl": {
    "h": 277.168,
    "s": 98.261,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75607,
    "c": 0.17087,
    "h": 311.5
  },
  "luminance": 0.40054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D38DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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