#D38EFD#D38EFD

#D38EFD is a light, vivid violet. Relative luminance 0.403; OKLCH L 75.7% C 0.168 H 311.6°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#D38EFD
RGBrgb(211, 142, 253)
HSLhsl(277, 97%, 77%)
HSVhsv(277, 44%, 99%)
CMYKcmyk(16.6%, 43.9%, 0%, 0.8%)
CIE-LABlab(69.67, 45.50, -45.27)
CIE-LCHlch(69.67, 64.19, 315.15°)
OKLaboklab(75.72% 0.1116 -0.1257)
OKLCHoklch(75.72% 0.168 311.6)
XYZxyz(54.2635, 40.2877, 97.8272)
Luminance0.4029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38EFD #B8FD8E
analogous
#9B8EFD #D38EFD #FD8EF0
triadic
#D38EFD #FDD38E #8EFDD3
tetradic
#D38EFD #FD9B8E #B8FD8E #8EF0FD
square
#D38EFD #FD9B8E #B8FD8E #8EF0FD
split-complementary
#D38EFD #F0FD8E #8EFD9B
monochromatic
#A416FB #BC52FC #D38EFD #EACAFE #F3E1FE

Accessibility & contrast

On white

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

On black

9.06
#D38EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38EFD
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38EFD#FFFFFF#000000##000000
##D38EFD1.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d38efd;
/* rgb */ color: rgb(211, 142, 253);
/* oklch */ color: oklch(75.7% 0.168 311.6);
Tailwind
colors: {
  custom: {
    50: '#e2b0fe',
    500: '#d38efd',
    950: '#000000',
  },
}
SCSS
$custom: #d38efd;
$custom-light: #e2b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d38efd",
  "rgb": {
    "r": 211,
    "g": 142,
    "b": 253
  },
  "hsl": {
    "h": 277.297,
    "s": 96.522,
    "l": 77.451
  },
  "oklch": {
    "l": 0.75716,
    "c": 0.16812,
    "h": 311.6
  },
  "luminance": 0.40287
}

Semantic roles & 50–950 ramp

primary
#D38EFD
secondary
#E1F7D4
accent
#E60057
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #D38EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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