#A38EFA#A38EFA

#A38EFA is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.1% C 0.155 H 290.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A38EFA
RGBrgb(163, 142, 250)
HSLhsl(252, 92%, 77%)
HSVhsv(252, 43%, 98%)
CMYKcmyk(34.8%, 43.2%, 0%, 2%)
CIE-LABlab(64.99, 31.83, -51.33)
CIE-LCHlch(64.99, 60.39, 301.81°)
OKLaboklab(71.09% 0.0551 -0.1444)
OKLCHoklch(71.09% 0.155 290.9)
XYZxyz(42.0280, 34.0336, 94.7788)
Luminance0.3403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38EFA #E5FA8E
analogous
#8EAFFA #A38EFA #D98EFA
triadic
#A38EFA #FAA38E #8EFAA3
tetradic
#A38EFA #FA8EAF #E5FA8E #8EFAD9
square
#A38EFA #FA8EAF #E5FA8E #8EFAD9
split-complementary
#A38EFA #FAD98E #AFFA8E
monochromatic
#4419F5 #7353F7 #A38EFA #D3C9FD #E7E2FE

Accessibility & contrast

On white

2.69
#A38EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A38EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38EFA
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38EFA#FFFFFF#000000##000000
##A38EFA1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6AA0FE
Deuteranopia (green-blind)
#6C9BF7
Tritanopia (blue-blind)
#8DA3B8
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a38efa;
/* rgb */ color: rgb(163, 142, 250);
/* oklch */ color: oklch(71.1% 0.155 290.9);
Tailwind
colors: {
  custom: {
    50: '#c1affc',
    500: '#a38efa',
    950: '#000000',
  },
}
SCSS
$custom: #a38efa;
$custom-light: #c1affc;
$custom-dark: #000000;
JSON
{
  "hex": "#a38efa",
  "rgb": {
    "r": 163,
    "g": 142,
    "b": 250
  },
  "hsl": {
    "h": 251.667,
    "s": 91.525,
    "l": 76.863
  },
  "oklch": {
    "l": 0.71086,
    "c": 0.15455,
    "h": 290.9
  },
  "luminance": 0.34035
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A38EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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