#D38BF8#D38BF8

#D38BF8 is a light, vivid violet. Relative luminance 0.391; OKLCH L 75.0% C 0.167 H 313.4°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#D38BF8
RGBrgb(211, 139, 248)
HSLhsl(280, 89%, 76%)
HSVhsv(280, 44%, 97%)
CMYKcmyk(14.9%, 44%, 0%, 2.7%)
CIE-LABlab(68.82, 46.04, -43.89)
CIE-LCHlch(68.82, 63.61, 316.37°)
OKLaboklab(75% 0.1149 -0.1217)
OKLCHoklch(75% 0.167 313.4)
XYZxyz(53.0371, 39.0926, 93.5404)
Luminance0.3909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38BF8 #B0F88B
analogous
#9C8BF8 #D38BF8 #F88BE6
triadic
#D38BF8 #F8D38B #8BF8D3
tetradic
#D38BF8 #F89C8B #B0F88B #8BE6F8
square
#D38BF8 #F89C8B #B0F88B #8BE6F8
split-complementary
#D38BF8 #E6F88B #8BF89C
monochromatic
#A718F1 #BD51F5 #D38BF8 #E9C5FB #F4E2FD

Accessibility & contrast

On white

2.38
#D38BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#D38BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38BF8
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38BF8#FFFFFF#000000##000000
##D38BF81.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FC
Deuteranopia (green-blind)
#88AAF5
Tritanopia (blue-blind)
#D09BB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d38bf8;
/* rgb */ color: rgb(211, 139, 248);
/* oklch */ color: oklch(75.0% 0.167 313.4);
Tailwind
colors: {
  custom: {
    50: '#e2aefb',
    500: '#d38bf8',
    950: '#000000',
  },
}
SCSS
$custom: #d38bf8;
$custom-light: #e2aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#d38bf8",
  "rgb": {
    "r": 211,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 279.633,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75002,
    "c": 0.16741,
    "h": 313.4
  },
  "luminance": 0.39091
}

Semantic roles & 50–950 ramp

primary
#D38BF8
secondary
#E0F5D6
accent
#E5004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D38BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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