#A38CFA#A38CFA

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

Color values

HEX#A38CFA
RGBrgb(163, 140, 250)
HSLhsl(253, 92%, 76%)
HSVhsv(253, 44%, 98%)
CMYKcmyk(34.8%, 44%, 0%, 2%)
CIE-LABlab(64.52, 32.97, -52.07)
CIE-LCHlch(64.52, 61.63, 302.34°)
OKLaboklab(70.73% 0.0576 -0.1466)
OKLCHoklch(70.73% 0.158 291.5)
XYZxyz(41.7331, 33.4439, 94.6805)
Luminance0.3345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38CFA #E3FA8C
analogous
#8CACFA #A38CFA #DA8CFA
triadic
#A38CFA #FAA38C #8CFAA3
tetradic
#A38CFA #FA8CAC #E3FA8C #8CFADA
square
#A38CFA #FA8CAC #E3FA8C #8CFADA
split-complementary
#A38CFA #FADA8C #ACFA8C
monochromatic
#4517F5 #7451F7 #A38CFA #D2C7FD #E8E2FE

Accessibility & contrast

On white

2.73
#A38CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#A38CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38CFA
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38CFA#FFFFFF#000000##000000
##A38CFA1.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#699AF7
Tritanopia (blue-blind)
#8EA1B7
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a38cfa;
/* rgb */ color: rgb(163, 140, 250);
/* oklch */ color: oklch(70.7% 0.158 291.5);
Tailwind
colors: {
  custom: {
    50: '#c1aefc',
    500: '#a38cfa',
    950: '#000000',
  },
}
SCSS
$custom: #a38cfa;
$custom-light: #c1aefc;
$custom-dark: #000000;
JSON
{
  "hex": "#a38cfa",
  "rgb": {
    "r": 163,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 252.545,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.7073,
    "c": 0.15751,
    "h": 291.5
  },
  "luminance": 0.33445
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A38CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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