#A398BB#A398BB

#A398BB is a light, muted violet. Relative luminance 0.338; OKLCH L 70.1% C 0.052 H 299.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#A398BB
RGBrgb(163, 152, 187)
HSLhsl(259, 20%, 66%)
HSVhsv(259, 19%, 73%)
CMYKcmyk(12.8%, 18.7%, 0%, 26.7%)
CIE-LABlab(64.83, 11.01, -16.64)
CIE-LCHlch(64.83, 19.96, 303.48°)
OKLaboklab(70.1% 0.0255 -0.0452)
OKLCHoklch(70.1% 0.052 299.4)
XYZxyz(35.3003, 33.8308, 51.6743)
Luminance0.3383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A398BB #B0BB98
analogous
#989FBB #A398BB #B598BB
triadic
#A398BB #BBA398 #98BBA3
tetradic
#A398BB #BB989F #B0BB98 #98BBB5
square
#A398BB #BB989F #B0BB98 #98BBB5
split-complementary
#A398BB #BBB598 #9FBB98
monochromatic
#645682 #8273A3 #A398BB #C4BDD3 #E5E2EC

Accessibility & contrast

On white

2.70
#A398BB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#A398BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A398BB
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A398BB#FFFFFF#000000##000000
##A398BB1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#919DBD
Deuteranopia (green-blind)
#939DBA
Tritanopia (blue-blind)
#9F9DA4
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a398bb;
/* rgb */ color: rgb(163, 152, 187);
/* oklch */ color: oklch(70.1% 0.052 299.4);
Tailwind
colors: {
  custom: {
    50: '#beb6cf',
    500: '#a398bb',
    950: '#000000',
  },
}
SCSS
$custom: #a398bb;
$custom-light: #beb6cf;
$custom-dark: #000000;
JSON
{
  "hex": "#a398bb",
  "rgb": {
    "r": 163,
    "g": 152,
    "b": 187
  },
  "hsl": {
    "h": 258.857,
    "s": 20.468,
    "l": 66.471
  },
  "oklch": {
    "l": 0.70097,
    "c": 0.05187,
    "h": 299.4
  },
  "luminance": 0.33831
}

Semantic roles & 50–950 ramp

primary
#A398BB
secondary
#DADDD2
accent
#9F4783
background
#FBFBFC
surface
#F6F6F9
border
#D0D0D2
text
#121113
muted
#818082

Preview Lab

Preview with #A398BB

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

Preview Lab → · Contrast checker → · Palette generator →

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