#A38EE2#A38EE2

#A38EE2 is a light, vivid violet. Relative luminance 0.326; OKLCH L 69.9% C 0.122 H 294.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#A38EE2
RGBrgb(163, 142, 226)
HSLhsl(255, 59%, 72%)
HSVhsv(255, 37%, 89%)
CMYKcmyk(27.9%, 37.2%, 0%, 11.4%)
CIE-LABlab(63.85, 25.76, -39.89)
CIE-LCHlch(63.85, 47.48, 302.85°)
OKLaboklab(69.85% 0.0507 -0.1112)
OKLCHoklch(69.85% 0.122 294.5)
XYZxyz(38.5014, 32.6230, 76.2052)
Luminance0.3262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38EE2 #CDE28E
analogous
#8EA3E2 #A38EE2 #CD8EE2
triadic
#A38EE2 #E2A38E #8EE2A3
tetradic
#A38EE2 #E28EA3 #CDE28E #8EE2CD
square
#A38EE2 #E28EA3 #CDE28E #8EE2CD
split-complementary
#A38EE2 #E2CD8E #A3E28E
monochromatic
#5632C3 #7B5DD6 #A38EE2 #CBBFEE #EBE7F9

Accessibility & contrast

On white

2.79
#A38EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#A38EE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38EE2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38EE2#FFFFFF#000000##000000
##A38EE21.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#779BE5
Deuteranopia (green-blind)
#7A99E0
Tritanopia (blue-blind)
#969DAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a38ee2;
/* rgb */ color: rgb(163, 142, 226);
/* oklch */ color: oklch(69.9% 0.122 294.5);
Tailwind
colors: {
  custom: {
    50: '#c0afeb',
    500: '#a38ee2',
    950: '#000000',
  },
}
SCSS
$custom: #a38ee2;
$custom-light: #c0afeb;
$custom-dark: #000000;
JSON
{
  "hex": "#a38ee2",
  "rgb": {
    "r": 163,
    "g": 142,
    "b": 226
  },
  "hsl": {
    "h": 255,
    "s": 59.155,
    "l": 72.157
  },
  "oklch": {
    "l": 0.69854,
    "c": 0.12222,
    "h": 294.5
  },
  "luminance": 0.32624
}

Semantic roles & 50–950 ramp

primary
#A38EE2
secondary
#EBF0DB
accent
#C71F9D
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#121016
muted
#817F84

Preview Lab

Preview with #A38EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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