#A38CF9#A38CF9

#A38CF9 is a light, vivid violet. Relative luminance 0.334; OKLCH L 70.7% C 0.156 H 291.6°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#A38CF9
RGBrgb(163, 140, 249)
HSLhsl(253, 90%, 76%)
HSVhsv(253, 44%, 98%)
CMYKcmyk(34.5%, 43.8%, 0%, 2.4%)
CIE-LABlab(64.47, 32.71, -51.60)
CIE-LCHlch(64.47, 61.09, 302.37°)
OKLaboklab(70.68% 0.0575 -0.1452)
OKLCHoklch(70.68% 0.156 291.6)
XYZxyz(41.5767, 33.3813, 93.8569)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38CF9 #E2F98C
analogous
#8CACF9 #A38CF9 #DA8CF9
triadic
#A38CF9 #F9A38C #8CF9A3
tetradic
#A38CF9 #F98CAC #E2F98C #8CF9DA
square
#A38CF9 #F98CAC #E2F98C #8CF9DA
split-complementary
#A38CF9 #F9DA8C #ACF98C
monochromatic
#4618F3 #7452F6 #A38CF9 #D2C6FC #E8E2FD

Accessibility & contrast

On white

2.74
#A38CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#A38CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38CF9
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38CF9#FFFFFF#000000##000000
##A38CF91.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#689EFD
Deuteranopia (green-blind)
#6A9AF6
Tritanopia (blue-blind)
#8EA1B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a38cf9;
/* rgb */ color: rgb(163, 140, 249);
/* oklch */ color: oklch(70.7% 0.156 291.6);
Tailwind
colors: {
  custom: {
    50: '#c1aefc',
    500: '#a38cf9',
    950: '#000000',
  },
}
SCSS
$custom: #a38cf9;
$custom-light: #c1aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#a38cf9",
  "rgb": {
    "r": 163,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 252.661,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.70676,
    "c": 0.15618,
    "h": 291.6
  },
  "luminance": 0.33382
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A38CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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