#A398EE#A398EE

#A398EE is a light, vivid blue. Relative luminance 0.364; OKLCH L 72.3% C 0.123 H 288.8°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#A398EE
RGBrgb(163, 152, 238)
HSLhsl(248, 72%, 76%)
HSVhsv(248, 36%, 93%)
CMYKcmyk(31.5%, 36.1%, 0%, 6.7%)
CIE-LABlab(66.84, 23.06, -41.84)
CIE-LCHlch(66.84, 47.77, 298.87°)
OKLaboklab(72.31% 0.0397 -0.1168)
OKLCHoklch(72.31% 0.123 288.8)
XYZxyz(41.7611, 36.4151, 85.7009)
Luminance0.3642 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A398EE #E3EE98
analogous
#98B8EE #A398EE #CE98EE
triadic
#A398EE #EEA398 #98EEA3
tetradic
#A398EE #EE98B8 #E3EE98 #98EECE
square
#A398EE #EE98B8 #E3EE98 #98EECE
split-complementary
#A398EE #EECE98 #B8EE98
monochromatic
#452FDD #7463E5 #A398EE #D2CDF7 #E8E5FB

Accessibility & contrast

On white

2.54
#A398EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#A398EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A398EE
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A398EE#FFFFFF#000000##000000
##A398EE1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA4F1
Deuteranopia (green-blind)
#7EA1EC
Tritanopia (blue-blind)
#91A8B8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a398ee;
/* rgb */ color: rgb(163, 152, 238);
/* oklch */ color: oklch(72.3% 0.123 288.8);
Tailwind
colors: {
  custom: {
    50: '#c0b6f4',
    500: '#a398ee',
    950: '#000000',
  },
}
SCSS
$custom: #a398ee;
$custom-light: #c0b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#a398ee",
  "rgb": {
    "r": 163,
    "g": 152,
    "b": 238
  },
  "hsl": {
    "h": 247.674,
    "s": 71.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.72306,
    "c": 0.12342,
    "h": 288.8
  },
  "luminance": 0.36416
}

Semantic roles & 50–950 ramp

primary
#A398EE
secondary
#EFF2D9
accent
#D412BB
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #A398EE

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

Preview Lab → · Contrast checker → · Palette generator →

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