#A398FD#A398FD

#A398FD is a light, vivid blue. Relative luminance 0.373; OKLCH L 73.1% C 0.144 H 287.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#A398FD
RGBrgb(163, 152, 253)
HSLhsl(247, 96%, 79%)
HSVhsv(247, 40%, 99%)
CMYKcmyk(35.6%, 39.9%, 0%, 0.8%)
CIE-LABlab(67.53, 26.93, -48.95)
CIE-LCHlch(67.53, 55.87, 298.81°)
OKLaboklab(73.06% 0.0427 -0.1375)
OKLCHoklch(73.06% 0.144 287.3)
XYZxyz(44.0573, 37.3336, 97.7943)
Luminance0.3734 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A398FD #F2FD98
analogous
#98C0FD #A398FD #D698FD
triadic
#A398FD #FDA398 #98FDA3
tetradic
#A398FD #FD98C0 #F2FD98 #98FDD6
square
#A398FD #FD98C0 #F2FD98 #98FDD6
split-complementary
#A398FD #FDD698 #C0FD98
monochromatic
#3820FB #6D5CFC #A398FD #D9D4FE #E4E1FE

Accessibility & contrast

On white

2.48
#A398FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#A398FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A398FD
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A398FD#FFFFFF#000000##000000
##A398FD1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#8BABBE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a398fd;
/* rgb */ color: rgb(163, 152, 253);
/* oklch */ color: oklch(73.1% 0.144 287.3);
Tailwind
colors: {
  custom: {
    50: '#c1b6fe',
    500: '#a398fd',
    950: '#000000',
  },
}
SCSS
$custom: #a398fd;
$custom-light: #c1b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#a398fd",
  "rgb": {
    "r": 163,
    "g": 152,
    "b": 253
  },
  "hsl": {
    "h": 246.535,
    "s": 96.19,
    "l": 79.412
  },
  "oklch": {
    "l": 0.73059,
    "c": 0.14399,
    "h": 287.3
  },
  "luminance": 0.37335
}

Semantic roles & 50–950 ramp

primary
#A398FD
secondary
#F3F7D4
accent
#E600CD
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131118
muted
#828086

Preview Lab

Preview with #A398FD

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

Preview Lab → · Contrast checker → · Palette generator →

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