#A38EF5#A38EF5

#A38EF5 is a light, vivid violet. Relative luminance 0.337; OKLCH L 70.8% C 0.148 H 291.5°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A38EF5
RGBrgb(163, 142, 245)
HSLhsl(252, 84%, 76%)
HSVhsv(252, 42%, 96%)
CMYKcmyk(33.5%, 42%, 0%, 3.9%)
CIE-LABlab(64.74, 30.54, -48.97)
CIE-LCHlch(64.74, 57.72, 301.95°)
OKLaboklab(70.82% 0.0543 -0.1376)
OKLCHoklch(70.82% 0.148 291.5)
XYZxyz(41.2544, 33.7242, 90.7044)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38EF5 #E0F58E
analogous
#8EACF5 #A38EF5 #D68EF5
triadic
#A38EF5 #F5A38E #8EF5A3
tetradic
#A38EF5 #F58EAC #E0F58E #8EF5D6
square
#A38EF5 #F58EAC #E0F58E #8EF5D6
split-complementary
#A38EF5 #F5D68E #ACF58E
monochromatic
#471EEB #7556F0 #A38EF5 #D1C6FA #E8E3FD

Accessibility & contrast

On white

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

On black

7.74
#A38EF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38EF5
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38EF5#FFFFFF#000000##000000
##A38EF51.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D9FF9
Deuteranopia (green-blind)
#6F9BF2
Tritanopia (blue-blind)
#8FA1B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a38ef5;
/* rgb */ color: rgb(163, 142, 245);
/* oklch */ color: oklch(70.8% 0.148 291.5);
Tailwind
colors: {
  custom: {
    50: '#c1aff9',
    500: '#a38ef5',
    950: '#000000',
  },
}
SCSS
$custom: #a38ef5;
$custom-light: #c1aff9;
$custom-dark: #000000;
JSON
{
  "hex": "#a38ef5",
  "rgb": {
    "r": 163,
    "g": 142,
    "b": 245
  },
  "hsl": {
    "h": 252.233,
    "s": 83.74,
    "l": 75.882
  },
  "oklch": {
    "l": 0.70819,
    "c": 0.14788,
    "h": 291.5
  },
  "luminance": 0.33725
}

Semantic roles & 50–950 ramp

primary
#A38EF5
secondary
#EEF4D7
accent
#E005B4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A38EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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