#A398DC#A398DC

#A398DC is a light, moderate blue. Relative luminance 0.354; OKLCH L 71.5% C 0.098 H 291.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#A398DC
RGBrgb(163, 152, 220)
HSLhsl(250, 49%, 73%)
HSVhsv(250, 31%, 86%)
CMYKcmyk(25.9%, 30.9%, 0%, 13.7%)
CIE-LABlab(66.07, 18.60, -33.12)
CIE-LCHlch(66.07, 37.98, 299.31°)
OKLaboklab(71.46% 0.0354 -0.0917)
OKLCHoklch(71.46% 0.098 291.1)
XYZxyz(39.2476, 35.4097, 72.4633)
Luminance0.3541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A398DC #D1DC98
analogous
#98AFDC #A398DC #C598DC
triadic
#A398DC #DCA398 #98DCA3
tetradic
#A398DC #DC98AF #D1DC98 #98DCC5
square
#A398DC #DC98AF #D1DC98 #98DCC5
split-complementary
#A398DC #DCC598 #AFDC98
monochromatic
#533FBA #7A6ACC #A398DC #CCC6EC #EBE8F7

Accessibility & contrast

On white

2.60
#A398DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#A398DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A398DC
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A398DC#FFFFFF#000000##000000
##A398DC1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A2DF
Deuteranopia (green-blind)
#879FDA
Tritanopia (blue-blind)
#97A4B0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #a398dc;
/* rgb */ color: rgb(163, 152, 220);
/* oklch */ color: oklch(71.5% 0.098 291.1);
Tailwind
colors: {
  custom: {
    50: '#bfb6e7',
    500: '#a398dc',
    950: '#000000',
  },
}
SCSS
$custom: #a398dc;
$custom-light: #bfb6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a398dc",
  "rgb": {
    "r": 163,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 249.706,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71462,
    "c": 0.09835,
    "h": 291.1
  },
  "luminance": 0.3541
}

Semantic roles & 50–950 ramp

primary
#A398DC
secondary
#EBEEDD
accent
#BD29A5
background
#FBFBFE
surface
#F7F6FC
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A398DC

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

Preview Lab → · Contrast checker → · Palette generator →

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