#A98FDB#A98FDB

#A98FDB is a light, moderate violet. Relative luminance 0.332; OKLCH L 70.2% C 0.112 H 299.2°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#A98FDB
RGBrgb(169, 143, 219)
HSLhsl(261, 51%, 71%)
HSVhsv(261, 35%, 86%)
CMYKcmyk(22.8%, 34.7%, 0%, 14.1%)
CIE-LABlab(64.32, 25.25, -35.24)
CIE-LCHlch(64.32, 43.35, 305.61°)
OKLaboklab(70.23% 0.0547 -0.0977)
OKLCHoklch(70.23% 0.112 299.2)
XYZxyz(38.9680, 33.1942, 71.3583)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98FDB #C1DB8F
analogous
#8F9BDB #A98FDB #CF8FDB
triadic
#A98FDB #DBA98F #8FDBA9
tetradic
#A98FDB #DB8F9B #C1DB8F #8FDBCF
square
#A98FDB #DB8F9B #C1DB8F #8FDBCF
split-complementary
#A98FDB #DBCF8F #9BDB8F
monochromatic
#643AB5 #8561CC #A98FDB #CDBDEA #EDE8F8

Accessibility & contrast

On white

2.75
#A98FDB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#A98FDB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98FDB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98FDB#FFFFFF#000000##000000
##A98FDB1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9CDE
Deuteranopia (green-blind)
#819BD9
Tritanopia (blue-blind)
#A09BAB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #a98fdb;
/* rgb */ color: rgb(169, 143, 219);
/* oklch */ color: oklch(70.2% 0.112 299.2);
Tailwind
colors: {
  custom: {
    50: '#c4b0e6',
    500: '#a98fdb',
    950: '#000000',
  },
}
SCSS
$custom: #a98fdb;
$custom-light: #c4b0e6;
$custom-dark: #000000;
JSON
{
  "hex": "#a98fdb",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 219
  },
  "hsl": {
    "h": 260.526,
    "s": 51.351,
    "l": 70.98
  },
  "oklch": {
    "l": 0.70233,
    "c": 0.11197,
    "h": 299.2
  },
  "luminance": 0.33194
}

Semantic roles & 50–950 ramp

primary
#A98FDB
secondary
#E6EDD9
accent
#BF278B
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #A98FDB

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

Preview Lab → · Contrast checker → · Palette generator →

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