#A398EA#A398EA

#A398EA is a light, moderate blue. Relative luminance 0.362; OKLCH L 72.1% C 0.118 H 289.2°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#A398EA
RGBrgb(163, 152, 234)
HSLhsl(248, 66%, 76%)
HSVhsv(248, 35%, 92%)
CMYKcmyk(30.3%, 35%, 0%, 8.2%)
CIE-LABlab(66.66, 22.05, -39.92)
CIE-LCHlch(66.66, 45.61, 298.92°)
OKLaboklab(72.11% 0.0389 -0.1113)
OKLCHoklch(72.11% 0.118 289.2)
XYZxyz(41.1799, 36.1826, 82.6403)
Luminance0.3618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A398EA #DFEA98
analogous
#98B6EA #A398EA #CC98EA
triadic
#A398EA #EAA398 #98EAA3
tetradic
#A398EA #EA98B6 #DFEA98 #98EACC
square
#A398EA #EA98B6 #DFEA98 #98EACC
split-complementary
#A398EA #EACC98 #B6EA98
monochromatic
#4832D5 #7665E0 #A398EA #D0CBF4 #E8E6FA

Accessibility & contrast

On white

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

On black

8.24
#A398EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A398EA
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A398EA#FFFFFF#000000##000000
##A398EA1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A4ED
Deuteranopia (green-blind)
#80A0E8
Tritanopia (blue-blind)
#92A7B6
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #a398ea;
/* rgb */ color: rgb(163, 152, 234);
/* oklch */ color: oklch(72.1% 0.118 289.2);
Tailwind
colors: {
  custom: {
    50: '#c0b6f1',
    500: '#a398ea',
    950: '#000000',
  },
}
SCSS
$custom: #a398ea;
$custom-light: #c0b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a398ea",
  "rgb": {
    "r": 163,
    "g": 152,
    "b": 234
  },
  "hsl": {
    "h": 248.049,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.72112,
    "c": 0.11789,
    "h": 289.2
  },
  "luminance": 0.36184
}

Semantic roles & 50–950 ramp

primary
#A398EA
secondary
#EEF1DA
accent
#CE18B6
background
#FBFBFE
surface
#F7F6FD
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A398EA

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

Preview Lab → · Contrast checker → · Palette generator →

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