#D38FFA#D38FFA

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

Color values

HEX#D38FFA
RGBrgb(211, 143, 250)
HSLhsl(278, 91%, 77%)
HSVhsv(278, 43%, 98%)
CMYKcmyk(15.6%, 42.8%, 0%, 2%)
CIE-LABlab(69.75, 44.34, -43.52)
CIE-LCHlch(69.75, 62.13, 315.54°)
OKLaboklab(75.73% 0.1097 -0.1207)
OKLCHoklch(75.73% 0.163 312.3)
XYZxyz(53.9388, 40.3970, 95.3799)
Luminance0.4040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38FFA #B6FA8F
analogous
#9E8FFA #D38FFA #FA8FEB
triadic
#D38FFA #FAD38F #8FFAD3
tetradic
#D38FFA #FA9E8F #B6FA8F #8FEBFA
square
#D38FFA #FA9E8F #B6FA8F #8FEBFA
split-complementary
#D38FFA #EBFA8F #8FFA9E
monochromatic
#A51AF5 #BC54F7 #D38FFA #EACAFD #F3E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D38FFA#FFFFFF#000000##000000
##D38FFA1.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)
#79A7FE
Deuteranopia (green-blind)
#8BACF7
Tritanopia (blue-blind)
#CF9FB9
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d38ffa;
/* rgb */ color: rgb(211, 143, 250);
/* oklch */ color: oklch(75.7% 0.163 312.3);
Tailwind
colors: {
  custom: {
    50: '#e2b1fc',
    500: '#d38ffa',
    950: '#000000',
  },
}
SCSS
$custom: #d38ffa;
$custom-light: #e2b1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#d38ffa",
  "rgb": {
    "r": 211,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 278.131,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7573,
    "c": 0.16311,
    "h": 312.3
  },
  "luminance": 0.40396
}

Semantic roles & 50–950 ramp

primary
#D38FFA
secondary
#E1F6D5
accent
#E60054
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D38FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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