#A98FD2#A98FD2

#A98FD2 is a light, moderate violet. Relative luminance 0.327; OKLCH L 69.8% C 0.100 H 301.7°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#A98FD2
RGBrgb(169, 143, 210)
HSLhsl(263, 43%, 69%)
HSVhsv(263, 32%, 82%)
CMYKcmyk(19.5%, 31.9%, 0%, 17.6%)
CIE-LABlab(63.94, 23.16, -30.81)
CIE-LCHlch(63.94, 38.55, 306.93°)
OKLaboklab(69.82% 0.0525 -0.085)
OKLCHoklch(69.82% 0.1 301.7)
XYZxyz(37.8151, 32.7330, 65.2862)
Luminance0.3273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A98FD2 #B8D28F
analogous
#8F97D2 #A98FD2 #CB8FD2
triadic
#A98FD2 #D2A98F #8FD2A9
tetradic
#A98FD2 #D28F97 #B8D28F #8FD2CB
square
#A98FD2 #D28F97 #B8D28F #8FD2CB
split-complementary
#A98FD2 #D2CB8F #97D28F
monochromatic
#6842A5 #8763C0 #A98FD2 #CBBBE4 #ECE6F5

Accessibility & contrast

On white

2.78
#A98FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#A98FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A98FD2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A98FD2#FFFFFF#000000##000000
##A98FD21.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#809AD5
Deuteranopia (green-blind)
#859BD0
Tritanopia (blue-blind)
#A299A7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #a98fd2;
/* rgb */ color: rgb(169, 143, 210);
/* oklch */ color: oklch(69.8% 0.100 301.7);
Tailwind
colors: {
  custom: {
    50: '#c3b0e0',
    500: '#a98fd2',
    950: '#000000',
  },
}
SCSS
$custom: #a98fd2;
$custom-light: #c3b0e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a98fd2",
  "rgb": {
    "r": 169,
    "g": 143,
    "b": 210
  },
  "hsl": {
    "h": 263.284,
    "s": 42.675,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69824,
    "c": 0.0999,
    "h": 301.7
  },
  "luminance": 0.32733
}

Semantic roles & 50–950 ramp

primary
#A98FD2
secondary
#E1E8D5
accent
#B63082
background
#FCFAFD
surface
#F8F4FB
border
#D1CED4
text
#121015
muted
#817F83

Preview Lab

Preview with #A98FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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