#A98BD2#A98BD2

#A98BD2 is a light, moderate violet. Relative luminance 0.316; OKLCH L 69.1% C 0.107 H 303.1°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A98BD2
RGBrgb(169, 139, 210)
HSLhsl(265, 44%, 68%)
HSVhsv(265, 34%, 82%)
CMYKcmyk(19.5%, 33.8%, 0%, 17.6%)
CIE-LABlab(62.97, 25.43, -32.32)
CIE-LCHlch(62.97, 41.12, 308.19°)
OKLaboklab(69.08% 0.0583 -0.0893)
OKLCHoklch(69.08% 0.107 303.1)
XYZxyz(37.2253, 31.5534, 65.0896)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98BD2 #B4D28B
analogous
#8B90D2 #A98BD2 #CC8BD2
triadic
#A98BD2 #D2A98B #8BD2A9
tetradic
#A98BD2 #D28B90 #B4D28B #8BD2CC
square
#A98BD2 #D28B90 #B4D28B #8BD2CC
split-complementary
#A98BD2 #D2CC8B #90D28B
monochromatic
#6A3FA3 #885FC1 #A98BD2 #CAB7E3 #EAE3F4

Accessibility & contrast

On white

2.87
#A98BD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#A98BD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98BD2
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98BD2#FFFFFF#000000##000000
##A98BD21.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C98D5
Deuteranopia (green-blind)
#8198D0
Tritanopia (blue-blind)
#A296A5
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #a98bd2;
/* rgb */ color: rgb(169, 139, 210);
/* oklch */ color: oklch(69.1% 0.107 303.1);
Tailwind
colors: {
  custom: {
    50: '#c3ade0',
    500: '#a98bd2',
    950: '#000000',
  },
}
SCSS
$custom: #a98bd2;
$custom-light: #c3ade0;
$custom-dark: #000000;
JSON
{
  "hex": "#a98bd2",
  "rgb": {
    "r": 169,
    "g": 139,
    "b": 210
  },
  "hsl": {
    "h": 265.352,
    "s": 44.099,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69082,
    "c": 0.10662,
    "h": 303.1
  },
  "luminance": 0.31553
}

Semantic roles & 50–950 ramp

primary
#A98BD2
secondary
#DEE7D2
accent
#B72E7D
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #A98BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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