#A38AFA#A38AFA

#A38AFA is a light, vivid violet. Relative luminance 0.329; OKLCH L 70.4% C 0.160 H 292.0°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#A38AFA
RGBrgb(163, 138, 250)
HSLhsl(253, 92%, 76%)
HSVhsv(253, 45%, 98%)
CMYKcmyk(34.8%, 44.8%, 0%, 2%)
CIE-LABlab(64.05, 34.10, -52.81)
CIE-LCHlch(64.05, 62.86, 302.85°)
OKLaboklab(70.38% 0.0602 -0.1488)
OKLCHoklch(70.38% 0.16 292)
XYZxyz(41.4435, 32.8647, 94.5839)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38AFA #E1FA8A
analogous
#8AA9FA #A38AFA #DB8AFA
triadic
#A38AFA #FAA38A #8AFAA3
tetradic
#A38AFA #FA8AA9 #E1FA8A #8AFADB
square
#A38AFA #FA8AA9 #E1FA8A #8AFADB
split-complementary
#A38AFA #FADB8A #A9FA8A
monochromatic
#4715F5 #754FF7 #A38AFA #D1C5FD #E8E2FE

Accessibility & contrast

On white

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

On black

7.57
#A38AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38AFA
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38AFA#FFFFFF#000000##000000
##A38AFA1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFE
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#8E9FB6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a38afa;
/* rgb */ color: rgb(163, 138, 250);
/* oklch */ color: oklch(70.4% 0.160 292.0);
Tailwind
colors: {
  custom: {
    50: '#c1acfc',
    500: '#a38afa',
    950: '#000000',
  },
}
SCSS
$custom: #a38afa;
$custom-light: #c1acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#a38afa",
  "rgb": {
    "r": 163,
    "g": 138,
    "b": 250
  },
  "hsl": {
    "h": 253.393,
    "s": 91.803,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70378,
    "c": 0.16047,
    "h": 292
  },
  "luminance": 0.32866
}

Semantic roles & 50–950 ramp

primary
#A38AFA
secondary
#EFF6D5
accent
#E600B2
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A38AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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