#A38BF9#A38BF9

#A38BF9 is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.5% C 0.158 H 291.9°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#A38BF9
RGBrgb(163, 139, 249)
HSLhsl(253, 90%, 76%)
HSVhsv(253, 44%, 98%)
CMYKcmyk(34.5%, 44.2%, 0%, 2.4%)
CIE-LABlab(64.23, 33.27, -51.97)
CIE-LCHlch(64.23, 61.71, 302.63°)
OKLaboklab(70.5% 0.0588 -0.1463)
OKLCHoklch(70.5% 0.158 291.9)
XYZxyz(41.4313, 33.0904, 93.8084)
Luminance0.3309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38BF9 #E1F98B
analogous
#8BAAF9 #A38BF9 #DA8BF9
triadic
#A38BF9 #F9A38B #8BF9A3
tetradic
#A38BF9 #F98BAA #E1F98B #8BF9DA
square
#A38BF9 #F98BAA #E1F98B #8BF9DA
split-complementary
#A38BF9 #F9DA8B #AAF98B
monochromatic
#4717F3 #7551F6 #A38BF9 #D1C5FC #E8E2FD

Accessibility & contrast

On white

2.76
#A38BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#A38BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38BF9
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38BF9#FFFFFF#000000##000000
##A38BF91.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669DFD
Deuteranopia (green-blind)
#699AF6
Tritanopia (blue-blind)
#8EA0B6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a38bf9;
/* rgb */ color: rgb(163, 139, 249);
/* oklch */ color: oklch(70.5% 0.158 291.9);
Tailwind
colors: {
  custom: {
    50: '#c1adfc',
    500: '#a38bf9',
    950: '#000000',
  },
}
SCSS
$custom: #a38bf9;
$custom-light: #c1adfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a38bf9",
  "rgb": {
    "r": 163,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 253.091,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70499,
    "c": 0.15767,
    "h": 291.9
  },
  "luminance": 0.33091
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A38BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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