#A38DFF#A38DFF

#A38DFF is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.2% C 0.163 H 290.5°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#A38DFF
RGBrgb(163, 141, 255)
HSLhsl(252, 100%, 78%)
HSVhsv(252, 45%, 100%)
CMYKcmyk(36.1%, 44.7%, 0%, 0%)
CIE-LABlab(65.01, 33.70, -54.03)
CIE-LCHlch(65.01, 63.68, 301.95°)
OKLaboklab(71.18% 0.057 -0.1523)
OKLCHoklch(71.18% 0.163 290.5)
XYZxyz(42.6743, 34.0552, 98.9133)
Luminance0.3406 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38DFF #E9FF8D
analogous
#8DB0FF #A38DFF #DC8DFF
triadic
#A38DFF #FFA38D #8DFFA3
tetradic
#A38DFF #FF8DB0 #E9FF8D #8DFFDC
square
#A38DFF #FF8DB0 #E9FF8D #8DFFDC
split-complementary
#A38DFF #FFDC8D #B0FF8D
monochromatic
#4013FF #7250FF #A38DFF #D4CAFF #E6E0FF

Accessibility & contrast

On white

2.69
#A38DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#A38DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38DFF
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38DFF#FFFFFF#000000##000000
##A38DFF1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#65A0FF
Deuteranopia (green-blind)
#679BFC
Tritanopia (blue-blind)
#8CA3BA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a38dff;
/* rgb */ color: rgb(163, 141, 255);
/* oklch */ color: oklch(71.2% 0.163 290.5);
Tailwind
colors: {
  custom: {
    50: '#c2aeff',
    500: '#a38dff',
    950: '#000000',
  },
}
SCSS
$custom: #a38dff;
$custom-light: #c2aeff;
$custom-dark: #000000;
JSON
{
  "hex": "#a38dff",
  "rgb": {
    "r": 163,
    "g": 141,
    "b": 255
  },
  "hsl": {
    "h": 251.579,
    "s": 100,
    "l": 77.647
  },
  "oklch": {
    "l": 0.71181,
    "c": 0.16265,
    "h": 290.5
  },
  "luminance": 0.34056
}

Semantic roles & 50–950 ramp

primary
#A38DFF
secondary
#F0F7D4
accent
#E600B9
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131018
muted
#827F86

Preview Lab

Preview with #A38DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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