#D38EFF#D38EFF

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

Color values

HEX#D38EFF
RGBrgb(211, 142, 255)
HSLhsl(277, 100%, 78%)
HSVhsv(277, 44%, 100%)
CMYKcmyk(17.3%, 44.3%, 0%, 0%)
CIE-LABlab(69.76, 45.93, -46.22)
CIE-LCHlch(69.76, 65.16, 314.82°)
OKLaboklab(75.81% 0.1119 -0.1285)
OKLCHoklch(75.81% 0.17 311.1)
XYZxyz(54.5837, 40.4158, 99.5139)
Luminance0.4042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38EFF #BAFF8E
analogous
#9A8EFF #D38EFF #FF8EF3
triadic
#D38EFF #FFD38E #8EFFD3
tetradic
#D38EFF #FF9A8E #BAFF8E #8EF3FF
square
#D38EFF #FF9A8E #BAFF8E #8EF3FF
split-complementary
#D38EFF #F3FF8E #8EFF9A
monochromatic
#A314FF #BB51FF #D38EFF #EBCBFF #F3E0FF

Accessibility & contrast

On white

2.31
#D38EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#D38EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38EFF
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38EFF#FFFFFF#000000##000000
##D38EFF1.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A7FF
Deuteranopia (green-blind)
#87ACFC
Tritanopia (blue-blind)
#CE9FBB
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d38eff;
/* rgb */ color: rgb(211, 142, 255);
/* oklch */ color: oklch(75.8% 0.170 311.1);
Tailwind
colors: {
  custom: {
    50: '#e2b0ff',
    500: '#d38eff',
    950: '#000000',
  },
}
SCSS
$custom: #d38eff;
$custom-light: #e2b0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d38eff",
  "rgb": {
    "r": 211,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 276.637,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75813,
    "c": 0.17039,
    "h": 311.1
  },
  "luminance": 0.40415
}

Semantic roles & 50–950 ramp

primary
#D38EFF
secondary
#E2F7D4
accent
#E60059
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #D38EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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