#A38DFD#A38DFD

#A38DFD is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.1% C 0.160 H 290.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#A38DFD
RGBrgb(163, 141, 253)
HSLhsl(252, 97%, 77%)
HSVhsv(252, 44%, 99%)
CMYKcmyk(35.6%, 44.3%, 0%, 0.8%)
CIE-LABlab(64.90, 33.18, -53.10)
CIE-LCHlch(64.90, 62.61, 302.00°)
OKLaboklab(71.07% 0.0568 -0.1496)
OKLCHoklch(71.07% 0.16 290.8)
XYZxyz(42.3540, 33.9271, 97.2265)
Luminance0.3393 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38DFD #E7FD8D
analogous
#8DAFFD #A38DFD #DB8DFD
triadic
#A38DFD #FDA38D #8DFDA3
tetradic
#A38DFD #FD8DAF #E7FD8D #8DFDDB
square
#A38DFD #FD8DAF #E7FD8D #8DFDDB
split-complementary
#A38DFD #FDDB8D #AFFD8D
monochromatic
#4215FB #7251FC #A38DFD #D4C9FE #E7E1FE

Accessibility & contrast

On white

2.70
#A38DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#A38DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38DFD
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38DFD#FFFFFF#000000##000000
##A38DFD1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679FFF
Deuteranopia (green-blind)
#699BFA
Tritanopia (blue-blind)
#8CA3B9
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a38dfd;
/* rgb */ color: rgb(163, 141, 253);
/* oklch */ color: oklch(71.1% 0.160 290.8);
Tailwind
colors: {
  custom: {
    50: '#c2aefe',
    500: '#a38dfd',
    950: '#000000',
  },
}
SCSS
$custom: #a38dfd;
$custom-light: #c2aefe;
$custom-dark: #000000;
JSON
{
  "hex": "#a38dfd",
  "rgb": {
    "r": 163,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 251.786,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.71071,
    "c": 0.16001,
    "h": 290.8
  },
  "luminance": 0.33928
}

Semantic roles & 50–950 ramp

primary
#A38DFD
secondary
#F0F7D4
accent
#E600B8
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A38DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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