#D38AFA#D38AFA

#D38AFA is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.9% C 0.171 H 312.9°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#D38AFA
RGBrgb(211, 138, 250)
HSLhsl(279, 92%, 76%)
HSVhsv(279, 45%, 98%)
CMYKcmyk(15.6%, 44.8%, 0%, 2%)
CIE-LABlab(68.70, 46.99, -45.17)
CIE-LCHlch(68.70, 65.18, 316.13°)
OKLaboklab(74.94% 0.1166 -0.1254)
OKLCHoklch(74.94% 0.171 312.9)
XYZxyz(53.2049, 38.9291, 95.1353)
Luminance0.3893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D38AFA #B1FA8A
analogous
#9B8AFA #D38AFA #FA8AE9
triadic
#D38AFA #FAD38A #8AFAD3
tetradic
#D38AFA #FA9B8A #B1FA8A #8AE9FA
square
#D38AFA #FA9B8A #B1FA8A #8AE9FA
split-complementary
#D38AFA #E9FA8A #8AFA9B
monochromatic
#A715F5 #BD4FF7 #D38AFA #E9C5FD #F4E2FE

Accessibility & contrast

On white

2.39
#D38AFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#D38AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D38AFA
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D38AFA#FFFFFF#000000##000000
##D38AFA1.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A4FE
Deuteranopia (green-blind)
#86A9F7
Tritanopia (blue-blind)
#D09BB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #d38afa;
/* rgb */ color: rgb(211, 138, 250);
/* oklch */ color: oklch(74.9% 0.171 312.9);
Tailwind
colors: {
  custom: {
    50: '#e2aefc',
    500: '#d38afa',
    950: '#000000',
  },
}
SCSS
$custom: #d38afa;
$custom-light: #e2aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#d38afa",
  "rgb": {
    "r": 211,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 279.107,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74943,
    "c": 0.17126,
    "h": 312.9
  },
  "luminance": 0.38928
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D38AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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