#D38BF9#D38BF9

#D38BF9 is a light, vivid violet. Relative luminance 0.392; OKLCH L 75.0% C 0.169 H 313.1°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#D38BF9
RGBrgb(211, 139, 249)
HSLhsl(279, 90%, 76%)
HSVhsv(279, 44%, 98%)
CMYKcmyk(15.3%, 44.2%, 0%, 2.4%)
CIE-LABlab(68.86, 46.25, -44.36)
CIE-LCHlch(68.86, 64.09, 316.19°)
OKLaboklab(75.05% 0.1151 -0.1231)
OKLCHoklch(75.05% 0.169 313.1)
XYZxyz(53.1926, 39.1548, 94.3597)
Luminance0.3915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38BF9 #B1F98B
analogous
#9C8BF9 #D38BF9 #F98BE8
triadic
#D38BF9 #F9D38B #8BF9D3
tetradic
#D38BF9 #F99C8B #B1F98B #8BE8F9
square
#D38BF9 #F99C8B #B1F98B #8BE8F9
split-complementary
#D38BF9 #E8F98B #8BF99C
monochromatic
#A717F3 #BD51F6 #D38BF9 #E9C5FC #F4E2FD

Accessibility & contrast

On white

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

On black

8.83
#D38BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38BF9
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38BF9#FFFFFF#000000##000000
##D38BF91.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d38bf9;
/* rgb */ color: rgb(211, 139, 249);
/* oklch */ color: oklch(75.0% 0.169 313.1);
Tailwind
colors: {
  custom: {
    50: '#e2aefb',
    500: '#d38bf9',
    950: '#000000',
  },
}
SCSS
$custom: #d38bf9;
$custom-light: #e2aefb;
$custom-dark: #000000;
JSON
{
  "hex": "#d38bf9",
  "rgb": {
    "r": 211,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 279.273,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7505,
    "c": 0.16853,
    "h": 313.1
  },
  "luminance": 0.39154
}

Semantic roles & 50–950 ramp

primary
#D38BF9
secondary
#E1F6D5
accent
#E6004F
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D38BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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