#A38DEC#A38DEC

#A38DEC is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.2% C 0.137 H 293.2°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#A38DEC
RGBrgb(163, 141, 236)
HSLhsl(254, 71%, 74%)
HSVhsv(254, 40%, 93%)
CMYKcmyk(30.9%, 40.3%, 0%, 7.5%)
CIE-LABlab(64.07, 28.82, -45.08)
CIE-LCHlch(64.07, 53.50, 302.59°)
OKLaboklab(70.17% 0.054 -0.1262)
OKLCHoklch(70.17% 0.137 293.2)
XYZxyz(39.7656, 32.8917, 83.5943)
Luminance0.3289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38DEC #D6EC8D
analogous
#8DA7EC #A38DEC #D38DEC
triadic
#A38DEC #ECA38D #8DECA3
tetradic
#A38DEC #EC8DA7 #D6EC8D #8DECD3
square
#A38DEC #EC8DA7 #D6EC8D #8DECD3
split-complementary
#A38DEC #ECD38D #A7EC8D
monochromatic
#4E24DA #7959E3 #A38DEC #CDC1F5 #EAE5FB

Accessibility & contrast

On white

2.77
#A38DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#A38DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38DEC
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38DEC#FFFFFF#000000##000000
##A38DEC1.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CF0
Deuteranopia (green-blind)
#739AEA
Tritanopia (blue-blind)
#929EB1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a38dec;
/* rgb */ color: rgb(163, 141, 236);
/* oklch */ color: oklch(70.2% 0.137 293.2);
Tailwind
colors: {
  custom: {
    50: '#c0aef2',
    500: '#a38dec',
    950: '#000000',
  },
}
SCSS
$custom: #a38dec;
$custom-light: #c0aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a38dec",
  "rgb": {
    "r": 163,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 253.895,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7017,
    "c": 0.1373,
    "h": 293.2
  },
  "luminance": 0.32892
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A38DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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