#A38EF6#A38EF6

#A38EF6 is a light, vivid violet. Relative luminance 0.338; OKLCH L 70.9% C 0.149 H 291.4°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#A38EF6
RGBrgb(163, 142, 246)
HSLhsl(252, 85%, 76%)
HSVhsv(252, 42%, 96%)
CMYKcmyk(33.7%, 42.3%, 0%, 3.5%)
CIE-LABlab(64.79, 30.80, -49.45)
CIE-LCHlch(64.79, 58.25, 301.92°)
OKLaboklab(70.87% 0.0544 -0.1389)
OKLCHoklch(70.87% 0.149 291.4)
XYZxyz(41.4075, 33.7854, 91.5105)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38EF6 #E1F68E
analogous
#8EADF6 #A38EF6 #D78EF6
triadic
#A38EF6 #F6A38E #8EF6A3
tetradic
#A38EF6 #F68EAD #E1F68E #8EF6D7
square
#A38EF6 #F68EAD #E1F68E #8EF6D7
split-complementary
#A38EF6 #F6D78E #ADF68E
monochromatic
#471DED #7555F1 #A38EF6 #D1C7FB #E8E3FD

Accessibility & contrast

On white

2.71
#A38EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#A38EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38EF6
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38EF6#FFFFFF#000000##000000
##A38EF61.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FFA
Deuteranopia (green-blind)
#6E9BF3
Tritanopia (blue-blind)
#8FA2B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a38ef6;
/* rgb */ color: rgb(163, 142, 246);
/* oklch */ color: oklch(70.9% 0.149 291.4);
Tailwind
colors: {
  custom: {
    50: '#c1aff9',
    500: '#a38ef6',
    950: '#000000',
  },
}
SCSS
$custom: #a38ef6;
$custom-light: #c1aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#a38ef6",
  "rgb": {
    "r": 163,
    "g": 142,
    "b": 246
  },
  "hsl": {
    "h": 252.115,
    "s": 85.246,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70872,
    "c": 0.14922,
    "h": 291.4
  },
  "luminance": 0.33786
}

Semantic roles & 50–950 ramp

primary
#A38EF6
secondary
#EFF5D6
accent
#E204B5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A38EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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