#A38EFE#A38EFE

#A38EFE is a light, vivid violet. Relative luminance 0.343; OKLCH L 71.3% C 0.160 H 290.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#A38EFE
RGBrgb(163, 142, 254)
HSLhsl(251, 98%, 78%)
HSVhsv(251, 44%, 100%)
CMYKcmyk(35.8%, 44.1%, 0%, 0.4%)
CIE-LABlab(65.19, 32.87, -53.20)
CIE-LCHlch(65.19, 62.53, 301.71°)
OKLaboklab(71.3% 0.0556 -0.1499)
OKLCHoklch(71.3% 0.16 290.4)
XYZxyz(42.6619, 34.2872, 98.1171)
Luminance0.3429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38EFE #E9FE8E
analogous
#8EB1FE #A38EFE #DB8EFE
triadic
#A38EFE #FEA38E #8EFEA3
tetradic
#A38EFE #FE8EB1 #E9FE8E #8EFEDB
square
#A38EFE #FE8EB1 #E9FE8E #8EFEDB
split-complementary
#A38EFE #FEDB8E #B1FE8E
monochromatic
#4015FD #7251FD #A38EFE #D4CBFF #E6E1FF

Accessibility & contrast

On white

2.67
#A38EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#A38EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38EFE
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38EFE#FFFFFF#000000##000000
##A38EFE1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#699CFB
Tritanopia (blue-blind)
#8CA4BA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a38efe;
/* rgb */ color: rgb(163, 142, 254);
/* oklch */ color: oklch(71.3% 0.160 290.4);
Tailwind
colors: {
  custom: {
    50: '#c2afff',
    500: '#a38efe',
    950: '#000000',
  },
}
SCSS
$custom: #a38efe;
$custom-light: #c2afff;
$custom-dark: #000000;
JSON
{
  "hex": "#a38efe",
  "rgb": {
    "r": 163,
    "g": 142,
    "b": 254
  },
  "hsl": {
    "h": 251.25,
    "s": 98.246,
    "l": 77.647
  },
  "oklch": {
    "l": 0.71303,
    "c": 0.15987,
    "h": 290.4
  },
  "luminance": 0.34288
}

Semantic roles & 50–950 ramp

primary
#A38EFE
secondary
#F0F7D4
accent
#E600BA
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A38EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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