#A398EB#A398EB

#A398EB is a light, moderate blue. Relative luminance 0.362; OKLCH L 72.2% C 0.119 H 289.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#A398EB
RGBrgb(163, 152, 235)
HSLhsl(248, 67%, 76%)
HSVhsv(248, 35%, 92%)
CMYKcmyk(30.6%, 35.3%, 0%, 7.8%)
CIE-LABlab(66.70, 22.30, -40.40)
CIE-LCHlch(66.70, 46.15, 298.90°)
OKLaboklab(72.16% 0.0391 -0.1127)
OKLCHoklch(72.16% 0.119 289.1)
XYZxyz(41.3240, 36.2403, 83.3990)
Luminance0.3624 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A398EB #E0EB98
analogous
#98B6EB #A398EB #CC98EB
triadic
#A398EB #EBA398 #98EBA3
tetradic
#A398EB #EB98B6 #E0EB98 #98EBCC
square
#A398EB #EB98B6 #E0EB98 #98EBCC
split-complementary
#A398EB #EBCC98 #B6EB98
monochromatic
#4732D7 #7565E1 #A398EB #D1CBF5 #E8E5FA

Accessibility & contrast

On white

2.55
#A398EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#A398EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A398EB
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A398EB#FFFFFF#000000##000000
##A398EB1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A4EE
Deuteranopia (green-blind)
#80A0E9
Tritanopia (blue-blind)
#92A7B7
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a398eb;
/* rgb */ color: rgb(163, 152, 235);
/* oklch */ color: oklch(72.2% 0.119 289.1);
Tailwind
colors: {
  custom: {
    50: '#c0b6f1',
    500: '#a398eb',
    950: '#000000',
  },
}
SCSS
$custom: #a398eb;
$custom-light: #c0b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a398eb",
  "rgb": {
    "r": 163,
    "g": 152,
    "b": 235
  },
  "hsl": {
    "h": 247.952,
    "s": 67.48,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7216,
    "c": 0.11927,
    "h": 289.1
  },
  "luminance": 0.36241
}

Semantic roles & 50–950 ramp

primary
#A398EB
secondary
#EEF2D9
accent
#CF16B7
background
#FCFBFE
surface
#F8F6FD
border
#D1D0D5
text
#121117
muted
#818085

Preview Lab

Preview with #A398EB

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

Preview Lab → · Contrast checker → · Palette generator →

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