#A198DC#A198DC

#A198DC is a light, moderate blue. Relative luminance 0.352; OKLCH L 71.3% C 0.098 H 289.7°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#A198DC
RGBrgb(161, 152, 220)
HSLhsl(248, 49%, 73%)
HSVhsv(248, 31%, 86%)
CMYKcmyk(26.8%, 30.9%, 0%, 13.7%)
CIE-LABlab(65.90, 18.01, -33.39)
CIE-LCHlch(65.90, 37.93, 298.34°)
OKLaboklab(71.3% 0.0332 -0.0925)
OKLCHoklch(71.3% 0.098 289.7)
XYZxyz(38.8412, 35.2002, 72.4442)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A198DC #D3DC98
analogous
#98B1DC #A198DC #C398DC
triadic
#A198DC #DCA198 #98DCA1
tetradic
#A198DC #DC98B1 #D3DC98 #98DCC3
square
#A198DC #DC98B1 #D3DC98 #98DCC3
split-complementary
#A198DC #DCC398 #B1DC98
monochromatic
#503FBA #776ACC #A198DC #CBC6EC #EAE8F7

Accessibility & contrast

On white

2.61
#A198DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#A198DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A198DC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A198DC#FFFFFF#000000##000000
##A198DC1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#86A1DF
Deuteranopia (green-blind)
#869FDA
Tritanopia (blue-blind)
#94A4B0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #a198dc;
/* rgb */ color: rgb(161, 152, 220);
/* oklch */ color: oklch(71.3% 0.098 289.7);
Tailwind
colors: {
  custom: {
    50: '#beb6e7',
    500: '#a198dc',
    950: '#000000',
  },
}
SCSS
$custom: #a198dc;
$custom-light: #beb6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a198dc",
  "rgb": {
    "r": 161,
    "g": 152,
    "b": 220
  },
  "hsl": {
    "h": 247.941,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71298,
    "c": 0.09831,
    "h": 289.7
  },
  "luminance": 0.35201
}

Semantic roles & 50–950 ramp

primary
#A198DC
secondary
#ECEEDD
accent
#BD29A9
background
#FBFBFE
surface
#F7F6FC
border
#D0D0D5
text
#121116
muted
#818084

Preview Lab

Preview with #A198DC

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

Preview Lab → · Contrast checker → · Palette generator →

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