#D38CF8#D38CF8

#D38CF8 is a light, vivid violet. Relative luminance 0.394; OKLCH L 75.2% C 0.166 H 313.2°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#D38CF8
RGBrgb(211, 140, 248)
HSLhsl(279, 89%, 76%)
HSVhsv(279, 44%, 97%)
CMYKcmyk(14.9%, 43.5%, 0%, 2.7%)
CIE-LABlab(69.03, 45.51, -43.56)
CIE-LCHlch(69.03, 63.00, 316.26°)
OKLaboklab(75.16% 0.1136 -0.1208)
OKLCHoklch(75.16% 0.166 313.2)
XYZxyz(53.1825, 39.3835, 93.5889)
Luminance0.3938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38CF8 #B1F88C
analogous
#9D8CF8 #D38CF8 #F88CE7
triadic
#D38CF8 #F8D38C #8CF8D3
tetradic
#D38CF8 #F89D8C #B1F88C #8CE7F8
square
#D38CF8 #F89D8C #B1F88C #8CE7F8
split-complementary
#D38CF8 #E7F88C #8CF89D
monochromatic
#A719F1 #BD52F4 #D38CF8 #E9C6FC #F4E2FD

Accessibility & contrast

On white

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

On black

8.88
#D38CF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38CF8
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38CF8#FFFFFF#000000##000000
##D38CF81.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#89AAF5
Tritanopia (blue-blind)
#D09CB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d38cf8;
/* rgb */ color: rgb(211, 140, 248);
/* oklch */ color: oklch(75.2% 0.166 313.2);
Tailwind
colors: {
  custom: {
    50: '#e2affb',
    500: '#d38cf8',
    950: '#000000',
  },
}
SCSS
$custom: #d38cf8;
$custom-light: #e2affb;
$custom-dark: #000000;
JSON
{
  "hex": "#d38cf8",
  "rgb": {
    "r": 211,
    "g": 140,
    "b": 248
  },
  "hsl": {
    "h": 279.444,
    "s": 88.525,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75159,
    "c": 0.16578,
    "h": 313.2
  },
  "luminance": 0.39382
}

Semantic roles & 50–950 ramp

primary
#D38CF8
secondary
#E1F5D6
accent
#E5004F
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #D38CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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