#A398FA#A398FA

#A398FA is a light, vivid blue. Relative luminance 0.371; OKLCH L 72.9% C 0.140 H 287.5°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#A398FA
RGBrgb(163, 152, 250)
HSLhsl(247, 91%, 79%)
HSVhsv(247, 39%, 98%)
CMYKcmyk(34.8%, 39.2%, 0%, 2%)
CIE-LABlab(67.38, 26.15, -47.54)
CIE-LCHlch(67.38, 54.26, 298.81°)
OKLaboklab(72.9% 0.0422 -0.1334)
OKLCHoklch(72.9% 0.14 287.5)
XYZxyz(43.5832, 37.1439, 95.2971)
Luminance0.3715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A398FA #EFFA98
analogous
#98BEFA #A398FA #D498FA
triadic
#A398FA #FAA398 #98FAA3
tetradic
#A398FA #FA98BE #EFFA98 #98FAD4
square
#A398FA #FA98BE #EFFA98 #98FAD4
split-complementary
#A398FA #FAD498 #BEFA98
monochromatic
#3B23F4 #6F5EF7 #A398FA #D7D2FD #E5E2FE

Accessibility & contrast

On white

2.49
#A398FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#A398FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A398FA
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A398FA#FFFFFF#000000##000000
##A398FA1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FE
Deuteranopia (green-blind)
#78A2F8
Tritanopia (blue-blind)
#8DABBD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #a398fa;
/* rgb */ color: rgb(163, 152, 250);
/* oklch */ color: oklch(72.9% 0.140 287.5);
Tailwind
colors: {
  custom: {
    50: '#c1b6fc',
    500: '#a398fa',
    950: '#000000',
  },
}
SCSS
$custom: #a398fa;
$custom-light: #c1b6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#a398fa",
  "rgb": {
    "r": 163,
    "g": 152,
    "b": 250
  },
  "hsl": {
    "h": 246.735,
    "s": 90.741,
    "l": 78.824
  },
  "oklch": {
    "l": 0.72904,
    "c": 0.1399,
    "h": 287.5
  },
  "luminance": 0.37145
}

Semantic roles & 50–950 ramp

primary
#A398FA
secondary
#F2F6D5
accent
#E600CC
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085

Preview Lab

Preview with #A398FA

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

Preview Lab → · Contrast checker → · Palette generator →

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