#A38CD9#A38CD9

#A38CD9 is a light, moderate violet. Relative luminance 0.316; OKLCH L 69.0% C 0.113 H 297.1°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A38CD9
RGBrgb(163, 140, 217)
HSLhsl(258, 50%, 70%)
HSVhsv(258, 35%, 85%)
CMYKcmyk(24.9%, 35.5%, 0%, 14.9%)
CIE-LABlab(62.97, 24.70, -36.27)
CIE-LCHlch(62.97, 43.88, 304.26°)
OKLaboklab(69.05% 0.0515 -0.1008)
OKLCHoklch(69.05% 0.113 297.1)
XYZxyz(37.0038, 31.5521, 69.7728)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38CD9 #C2D98C
analogous
#8C9CD9 #A38CD9 #C98CD9
triadic
#A38CD9 #D9A38C #8CD9A3
tetradic
#A38CD9 #D98C9C #C2D98C #8CD9C9
square
#A38CD9 #D98C9C #C2D98C #8CD9C9
split-complementary
#A38CD9 #D9C98C #9CD98C
monochromatic
#5E3AB0 #7E5ECA #A38CD9 #C8BAE8 #EDE8F7

Accessibility & contrast

On white

2.87
#A38CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#A38CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38CD9
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38CD9#FFFFFF#000000##000000
##A38CD91.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7999DC
Deuteranopia (green-blind)
#7C98D7
Tritanopia (blue-blind)
#9899A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a38cd9;
/* rgb */ color: rgb(163, 140, 217);
/* oklch */ color: oklch(69.0% 0.113 297.1);
Tailwind
colors: {
  custom: {
    50: '#bfade5',
    500: '#a38cd9',
    950: '#000000',
  },
}
SCSS
$custom: #a38cd9;
$custom-light: #bfade5;
$custom-dark: #000000;
JSON
{
  "hex": "#a38cd9",
  "rgb": {
    "r": 163,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 257.922,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.6905,
    "c": 0.11316,
    "h": 297.1
  },
  "luminance": 0.31552
}

Semantic roles & 50–950 ramp

primary
#A38CD9
secondary
#E5EBD6
accent
#BE2891
background
#FBFAFE
surface
#F7F4FC
border
#D0CED5
text
#121015
muted
#817F84

Preview Lab

Preview with #A38CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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