#A398DB#A398DB

#A398DB is a light, moderate blue. Relative luminance 0.354; OKLCH L 71.4% C 0.097 H 291.3°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#A398DB
RGBrgb(163, 152, 219)
HSLhsl(250, 48%, 73%)
HSVhsv(250, 31%, 86%)
CMYKcmyk(25.6%, 30.6%, 0%, 14.1%)
CIE-LABlab(66.03, 18.35, -32.63)
CIE-LCHlch(66.03, 37.44, 299.36°)
OKLaboklab(71.42% 0.0352 -0.0903)
OKLCHoklch(71.42% 0.097 291.3)
XYZxyz(39.1156, 35.3569, 71.7678)
Luminance0.3536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A398DB #D0DB98
analogous
#98AEDB #A398DB #C498DB
triadic
#A398DB #DBA398 #98DBA3
tetradic
#A398DB #DB98AE #D0DB98 #98DBC4
square
#A398DB #DB98AE #D0DB98 #98DBC4
split-complementary
#A398DB #DBC498 #AEDB98
monochromatic
#5440B8 #7A6BCB #A398DB #CCC5EB #EBE8F7

Accessibility & contrast

On white

2.60
#A398DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#A398DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A398DB
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A398DB#FFFFFF#000000##000000
##A398DB1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#87A2DE
Deuteranopia (green-blind)
#879FD9
Tritanopia (blue-blind)
#97A3B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a398db;
/* rgb */ color: rgb(163, 152, 219);
/* oklch */ color: oklch(71.4% 0.097 291.3);
Tailwind
colors: {
  custom: {
    50: '#bfb6e6',
    500: '#a398db',
    950: '#000000',
  },
}
SCSS
$custom: #a398db;
$custom-light: #bfb6e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a398db",
  "rgb": {
    "r": 163,
    "g": 152,
    "b": 219
  },
  "hsl": {
    "h": 249.851,
    "s": 48.201,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71418,
    "c": 0.09694,
    "h": 291.3
  },
  "luminance": 0.35357
}

Semantic roles & 50–950 ramp

primary
#A398DB
secondary
#EBEEDD
accent
#BB2AA4
background
#FBFBFE
surface
#F7F6FC
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A398DB

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

Preview Lab → · Contrast checker → · Palette generator →

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