#A38DF9#A38DF9

#A38DF9 is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.9% C 0.155 H 291.3°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A38DF9
RGBrgb(163, 141, 249)
HSLhsl(252, 90%, 76%)
HSVhsv(252, 43%, 98%)
CMYKcmyk(34.5%, 43.4%, 0%, 2.4%)
CIE-LABlab(64.70, 32.14, -51.23)
CIE-LCHlch(64.70, 60.48, 302.10°)
OKLaboklab(70.85% 0.0562 -0.1441)
OKLCHoklch(70.85% 0.155 291.3)
XYZxyz(41.7235, 33.6749, 93.9058)
Luminance0.3368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38DF9 #E3F98D
analogous
#8DADF9 #A38DF9 #D98DF9
triadic
#A38DF9 #F9A38D #8DF9A3
tetradic
#A38DF9 #F98DAD #E3F98D #8DF9D9
square
#A38DF9 #F98DAD #E3F98D #8DF9D9
split-complementary
#A38DF9 #F9D98D #ADF98D
monochromatic
#4519F3 #7453F6 #A38DF9 #D2C7FC #E8E2FD

Accessibility & contrast

On white

2.71
#A38DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A38DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38DF9
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38DF9#FFFFFF#000000##000000
##A38DF91.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#699FFD
Deuteranopia (green-blind)
#6B9BF6
Tritanopia (blue-blind)
#8EA2B7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a38df9;
/* rgb */ color: rgb(163, 141, 249);
/* oklch */ color: oklch(70.9% 0.155 291.3);
Tailwind
colors: {
  custom: {
    50: '#c1aefc',
    500: '#a38df9',
    950: '#000000',
  },
}
SCSS
$custom: #a38df9;
$custom-light: #c1aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#a38df9",
  "rgb": {
    "r": 163,
    "g": 141,
    "b": 249
  },
  "hsl": {
    "h": 252.222,
    "s": 90,
    "l": 76.471
  },
  "oklch": {
    "l": 0.70854,
    "c": 0.15471,
    "h": 291.3
  },
  "luminance": 0.33676
}

Semantic roles & 50–950 ramp

primary
#A38DF9
secondary
#EFF6D5
accent
#E600B7
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A38DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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