#A38DF7#A38DF7

#A38DF7 is a light, vivid violet. Relative luminance 0.336; OKLCH L 70.7% C 0.152 H 291.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#A38DF7
RGBrgb(163, 141, 247)
HSLhsl(252, 87%, 76%)
HSVhsv(252, 43%, 97%)
CMYKcmyk(34%, 42.9%, 0%, 3.1%)
CIE-LABlab(64.60, 31.62, -50.29)
CIE-LCHlch(64.60, 59.41, 302.16°)
OKLaboklab(70.75% 0.0559 -0.1414)
OKLCHoklch(70.75% 0.152 291.6)
XYZxyz(41.4133, 33.5508, 92.2717)
Luminance0.3355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A38DF7 #E1F78D
analogous
#8DACF7 #A38DF7 #D88DF7
triadic
#A38DF7 #F7A38D #8DF7A3
tetradic
#A38DF7 #F78DAC #E1F78D #8DF7D8
square
#A38DF7 #F78DAC #E1F78D #8DF7D8
split-complementary
#A38DF7 #F7D88D #ACF78D
monochromatic
#471BEF #7554F3 #A38DF7 #D1C6FB #E8E2FD

Accessibility & contrast

On white

2.72
#A38DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#A38DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A38DF7
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A38DF7#FFFFFF#000000##000000
##A38DF71.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B9EFB
Deuteranopia (green-blind)
#6D9BF4
Tritanopia (blue-blind)
#8FA1B6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a38df7;
/* rgb */ color: rgb(163, 141, 247);
/* oklch */ color: oklch(70.7% 0.152 291.6);
Tailwind
colors: {
  custom: {
    50: '#c1aefa',
    500: '#a38df7',
    950: '#000000',
  },
}
SCSS
$custom: #a38df7;
$custom-light: #c1aefa;
$custom-dark: #000000;
JSON
{
  "hex": "#a38df7",
  "rgb": {
    "r": 163,
    "g": 141,
    "b": 247
  },
  "hsl": {
    "h": 252.453,
    "s": 86.885,
    "l": 76.078
  },
  "oklch": {
    "l": 0.70746,
    "c": 0.15204,
    "h": 291.6
  },
  "luminance": 0.33552
}

Semantic roles & 50–950 ramp

primary
#A38DF7
secondary
#EFF5D6
accent
#E302B5
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#131017
muted
#827F85

Preview Lab

Preview with #A38DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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