#A38EEB#A38EEB

#A38EEB is a light, vivid violet. Relative luminance 0.331; OKLCH L 70.3% C 0.134 H 293.0°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#A38EEB
RGBrgb(163, 142, 235)
HSLhsl(254, 70%, 74%)
HSVhsv(254, 40%, 92%)
CMYKcmyk(30.6%, 39.6%, 0%, 7.8%)
CIE-LABlab(64.27, 28.00, -44.22)
CIE-LCHlch(64.27, 52.34, 302.34°)
OKLaboklab(70.3% 0.0525 -0.1237)
OKLCHoklch(70.3% 0.134 293)
XYZxyz(39.7689, 33.1300, 82.8806)
Luminance0.3313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38EEB #D6EB8E
analogous
#8EA8EB #A38EEB #D28EEB
triadic
#A38EEB #EBA38E #8EEBA3
tetradic
#A38EEB #EB8EA8 #D6EB8E #8EEBD2
square
#A38EEB #EB8EA8 #D6EB8E #8EEBD2
split-complementary
#A38EEB #EBD28E #A8EB8E
monochromatic
#4E26D8 #795AE2 #A38EEB #CDC2F4 #EAE5FA

Accessibility & contrast

On white

2.75
#A38EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#A38EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38EEB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38EEB#FFFFFF#000000##000000
##A38EEB1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEF
Deuteranopia (green-blind)
#759AE9
Tritanopia (blue-blind)
#939FB1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a38eeb;
/* rgb */ color: rgb(163, 142, 235);
/* oklch */ color: oklch(70.3% 0.134 293.0);
Tailwind
colors: {
  custom: {
    50: '#c0aff2',
    500: '#a38eeb',
    950: '#000000',
  },
}
SCSS
$custom: #a38eeb;
$custom-light: #c0aff2;
$custom-dark: #000000;
JSON
{
  "hex": "#a38eeb",
  "rgb": {
    "r": 163,
    "g": 142,
    "b": 235
  },
  "hsl": {
    "h": 253.548,
    "s": 69.925,
    "l": 73.922
  },
  "oklch": {
    "l": 0.70302,
    "c": 0.13442,
    "h": 293
  },
  "luminance": 0.33131
}

Semantic roles & 50–950 ramp

primary
#A38EEB
secondary
#ECF2D9
accent
#D214A7
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#121017
muted
#817F85

Preview Lab

Preview with #A38EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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