#D38BFA#D38BFA

#D38BFA is a light, vivid violet. Relative luminance 0.392; OKLCH L 75.1% C 0.170 H 312.8°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#D38BFA
RGBrgb(211, 139, 250)
HSLhsl(279, 92%, 76%)
HSVhsv(279, 44%, 98%)
CMYKcmyk(15.6%, 44.4%, 0%, 2%)
CIE-LABlab(68.91, 46.46, -44.84)
CIE-LCHlch(68.91, 64.57, 316.02°)
OKLaboklab(75.1% 0.1152 -0.1245)
OKLCHoklch(75.1% 0.17 312.8)
XYZxyz(53.3490, 39.2174, 95.1833)
Luminance0.3922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38BFA #B2FA8B
analogous
#9C8BFA #D38BFA #FA8BEA
triadic
#D38BFA #FAD38B #8BFAD3
tetradic
#D38BFA #FA9C8B #B2FA8B #8BEAFA
square
#D38BFA #FA9C8B #B2FA8B #8BEAFA
split-complementary
#D38BFA #EAFA8B #8BFA9C
monochromatic
#A616F5 #BD50F7 #D38BFA #E9C6FD #F4E2FE

Accessibility & contrast

On white

2.37
#D38BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#D38BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38BFA
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38BFA#FFFFFF#000000##000000
##D38BFA1.002.378.848.84
#FFFFFF2.371.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A4FE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#CF9CB7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d38bfa;
/* rgb */ color: rgb(211, 139, 250);
/* oklch */ color: oklch(75.1% 0.170 312.8);
Tailwind
colors: {
  custom: {
    50: '#e2aefc',
    500: '#d38bfa',
    950: '#000000',
  },
}
SCSS
$custom: #d38bfa;
$custom-light: #e2aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#d38bfa",
  "rgb": {
    "r": 211,
    "g": 139,
    "b": 250
  },
  "hsl": {
    "h": 278.919,
    "s": 91.736,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75099,
    "c": 0.16963,
    "h": 312.8
  },
  "luminance": 0.39216
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D38BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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