#D38EF3#D38EF3

#D38EF3 is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.2% C 0.157 H 314.5°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#D38EF3
RGBrgb(211, 142, 243)
HSLhsl(281, 81%, 75%)
HSVhsv(281, 42%, 95%)
CMYKcmyk(13.2%, 41.6%, 0%, 4.7%)
CIE-LABlab(69.23, 43.42, -40.51)
CIE-LCHlch(69.23, 59.38, 316.99°)
OKLaboklab(75.24% 0.1099 -0.112)
OKLCHoklch(75.24% 0.157 314.5)
XYZxyz(52.7121, 39.6672, 89.6564)
Luminance0.3967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38EF3 #AEF38E
analogous
#A08EF3 #D38EF3 #F38EE0
triadic
#D38EF3 #F3D38E #8EF3D3
tetradic
#D38EF3 #F3A08E #AEF38E #8EE0F3
square
#D38EF3 #F3A08E #AEF38E #8EE0F3
split-complementary
#D38EF3 #E0F38E #8EF3A0
monochromatic
#A81FE7 #BD57ED #D38EF3 #E9C5F9 #F4E3FC

Accessibility & contrast

On white

2.35
#D38EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#D38EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38EF3
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38EF3#FFFFFF#000000##000000
##D38EF31.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F7
Deuteranopia (green-blind)
#8DABF0
Tritanopia (blue-blind)
#D19CB5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #d38ef3;
/* rgb */ color: rgb(211, 142, 243);
/* oklch */ color: oklch(75.2% 0.157 314.5);
Tailwind
colors: {
  custom: {
    50: '#e2b0f7',
    500: '#d38ef3',
    950: '#000000',
  },
}
SCSS
$custom: #d38ef3;
$custom-light: #e2b0f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d38ef3",
  "rgb": {
    "r": 211,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 280.99,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7524,
    "c": 0.15691,
    "h": 314.5
  },
  "luminance": 0.39666
}

Semantic roles & 50–950 ramp

primary
#D38EF3
secondary
#E0F4D7
accent
#DD084C
background
#FEFAFF
surface
#FCF5FF
border
#D5CFD7
text
#151117
muted
#848085

Preview Lab

Preview with #D38EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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